]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: deleteting the object holding the temp object name on cleanup 66110/head
authorYuval Lifshitz <ylifshit@ibm.com>
Mon, 3 Nov 2025 11:20:07 +0000 (11:20 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 10 Nov 2025 14:04:41 +0000 (14:04 +0000)
commit494fb20f509a6d10e459a00a370eca90dd08ced1
tree087cb6823bc5a509fb2464072d78620e010a32ce
parentcf44913720c13bdf317ff44498543c06eabe7ec7
rgw/logging: deleteting the object holding the temp object name on cleanup

* in case of prefix per source this would prevent leaking this object
* in case of share prefix, it would prevent data loss when other source
buckets will try to commit an already comitted temporary object
* when updatign the "last committed" attribute, the object must exist.
  this is so that commit without rollover (in case of cleanup) won't
  recreate the deleted object
* some refactoring of try-catch code to have less nesting

Fixes: https://tracker.ceph.com/issues/73675
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/rgw/driver/rados/rgw_sal_rados.cc
src/rgw/rgw_bucket_logging.cc