]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: fixes data loss during rollover 65281/head
authorN Balachandran <nithya.balachandran@ibm.com>
Thu, 28 Aug 2025 06:22:23 +0000 (11:52 +0530)
committerN Balachandran <nithya.balachandran@ibm.com>
Mon, 8 Sep 2025 03:33:15 +0000 (09:03 +0530)
commiteea6525c031ae93f4ae846b06d55831e658faa2c
tree9ae2dc9bc324507266457ee55df7207d1384fef5
parentf96567578976c2c84a31d366a04c28fb95ceb0d9
rgw/logging: fixes data loss during rollover

Multiple threads attempting to roll over the same log object can result
in the creation of numerous orphan tail objects, each with a single record.
This occurs when a NULL RGWObjVersionTracker is used during the creation of
a new logging object. These records are inaccessible, leading to data loss,
which is particularly critical in Journal mode.
Furthermore, valid log tail objects may be added to the Garbage Collection (GC)
list, exacerbating data loss.

Fixes: https://tracker.ceph.com/issues/72740
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
src/rgw/rgw_bucket_logging.cc