]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: fix race condition when name update returns ECANCELED 65902/head
authorYuval Lifshitz <ylifshit@ibm.com>
Sun, 12 Oct 2025 14:14:36 +0000 (14:14 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Sun, 12 Oct 2025 14:18:50 +0000 (14:18 +0000)
commit78f62f4207b9752d85a9ccbfa3007f2f2cf79d21
tree88a339df86ee55bd83201db9bdfe00e18fc57211
parentaf633b0c80ad9b2b5ead75c56dc70daf7a3efd36
rgw/logging: fix race condition when name update returns ECANCELED

* when we get ECANCELED indication from the name set operation we should
  bail out and not continue with the rollover
* this fix revealed a hidden bug where we do not check the existing temp
  name when we do conf change cleanup (rollover)

Fixes: https://tracker.ceph.com/issues/73434
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/rgw/radosgw-admin/radosgw-admin.cc
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_rest_bucket_logging.cc