]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: return the last object name that was actually comitted
authorYuval Lifshitz <ylifshit@ibm.com>
Tue, 3 Jun 2025 10:30:46 +0000 (10:30 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 23 Jun 2025 15:20:52 +0000 (15:20 +0000)
commit36b58a378f042537d7cab224267e0df191cd1b09
tree77ce58ee0a4cde39a5dee182b0307a2fcb1d827c
parent8a3f900b2e2784b6a1a41d1ca7a7f67bcd0131d9
rgw/logging: return the last object name that was actually comitted

when comitting a pending object that was never created we should
not reply the object name as the name of the comitted object.
instead, we should return the name of the object that was actuaslly
comitted.

Fixes: https://tracker.ceph.com/issues/71219
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit efe4473000e1a4510549c9e39ce984e8f3bb1db6)
src/rgw/driver/rados/rgw_sal_rados.cc
src/rgw/driver/rados/rgw_sal_rados.h
src/rgw/radosgw-admin/radosgw-admin.cc
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_bucket_logging.h
src/rgw/rgw_rest_bucket_logging.cc
src/rgw/rgw_sal.h
src/rgw/rgw_sal_filter.h
src/rgw/rgw_sal_store.h