summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_datalog.cc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rgw: consider multi zonegroup for is_syncing_bucket_metaSeena Fallah2024-11-261-1/+1
| | | | | | | | Updated is_syncing_bucket_meta() to account for multi-zone and multi-zonegroup scenarios during this check. Fixes: https://tracker.ceph.com/issues/69049 Signed-off-by: Seena Fallah <seenafallah@gmail.com>
* rgw/datalog: RGWDataChangesLog::add_entry() uses null_yieldCasey Bodley2024-02-091-1/+2
| | | | | | | | | | | work around a deadlock under RGWDataChangesLog::add_entry() with multi-object delete by making the push() call synchronous this is a partial revert of d38a69b6e18cb798528d64a2c6c3e439212fe6d2 Fixes: https://tracker.ceph.com/issues/63373 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw: fix spelling errorsJosh Soref2023-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * access * acquire * across * algorithm * alternatively * ambiguous * attributes * authenticated * automatically * based * between * beware * bootstrap * bucket * cache * character * check * cleanup * combinations * committed * comparison * compatibility * concurrent * conditions * conjunction * connections * considered * contains * correct * creates * crypto * dependencies * dequeued * dequeuing * derivative * described * determine * deterministic * detritus * discrepancy * display * either way * elements * entirely * entries * error * everything * expected * explicitly * extend * false * fclose * feature * following * foreign * format * forward * functionality * functions * generated * getting * gracefully * happened * hashicorp * healthcheck * hierarchy * however * http * identify * idleness * ignored * incremental * information * initialization * length * locally * macros * malformed * means * mechanism * multipart * multiple * must * namespace * necessary * nonexistent * notifications * occurred * official * outputs * outputted * overridden * ownership * parallelism * partition * passthrough * pause * penguin * perform * permission * populated * position * preferably * prefixes * presumably * previous * print * quadruple * reference * regardless * registry * renewed * request * requires * reshard * resource * result to * satisfy * secret * separate * separator * setting * shouldn't * skipping * some * somehow * something * specific * struct * succeeded * success * successful * successfully * syntax * testing * truncated * unambiguously * unittest * unmodified * unnecessary * valid_action * verifying * versioning * visible * whatever * whenever Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* rgw: pass boost intrusive_ptr to DataLogBackends flat_mapVedansh Bhartia2023-06-071-2/+6
| | | | | | | | | | | When emplacing a new backend, use an explicitly constructed intrusive_ptr so that it gets destroyed if the emplace fails. Though the destructor is already called, this behaviour cannot be relied upon. std::map does not exhibit the same behaviour, and would have leaked memory had it been used instead. Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
* Merge pull request #51734 from cbodley/wip-61300Casey Bodley2023-05-251-0/+4
|\ | | | | | | | | | | rgw: disable RGWDataChangesLog::add_entry() when log_data is off Reviewed-by: Shilpa Jagannath <smanjara@redhat.com> Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
| * rgw: disable RGWDataChangesLog::add_entry() when log_data is offCasey Bodley2023-05-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this restores a check for RGWZone::log_data in add_entry(). with per-bucket replication, this check was replaced by a call to `RGWBucketSyncPolicyHandler::bucket_exports_data()` this call has to consult two rados objects, `bucket.sync-source-hints.<bucketname>` and `bucket.sync-target-hints.<bucketname>` but if the zone is not configured for multisite, we should avoid these extra object reads and return early Fixes: https://tracker.ceph.com/issues/61300 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | rgw: Add log types to dencoderTom Coldrick2023-05-171-0/+9
|/ | | | | | | | | | | | | | | | | When debugging an issue in RGW multisite replication, we discovered that we had no way to deserialise data stored in the logs (in particular the datalog) when attempting to look inside the RADOS objects and work out what's going on. This commit adds the types to ceph-dencoder, to facilitate future efforts at debugging. As a bonus, this also allows serialisation for these types to be tested. Adds the following types to ceph-dencoder: - RGWMetadataLogData - rgw_data_change - cls_log_entry Signed-off-by: Tom Coldrick <tcoldrick@bloomberg.com>
* rgw: Remove (most) uses of null_yield in datalogAdam C. Emerson2023-01-231-55/+80
| | | | | | The only ones remaining are in calls from top-level threads. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* RGW - Zipper - move rgw/store to rgw/driverDaniel Gryniewicz2022-12-081-0/+1065
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>