]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/cloud-transition: Use set_atomic() while updating HEAD 57466/head
authorSoumya Koduri <skoduri@redhat.com>
Thu, 9 May 2024 07:15:52 +0000 (12:45 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 14 May 2024 11:09:32 +0000 (16:39 +0530)
commitf3c289e4078c2f15314993c66f9944476d83499b
tree55378535050ee22d35386d4c137557feb2f3e946
parentfc4556b70c935234876336849c22e75009832007
rgw/cloud-transition: Use set_atomic() while updating HEAD

LC Cloud transition should use set_atomic() to prevent any overwrite
while updating the HEAD object.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit 5be95034c7c2ad8a0361951b19205b782eb6be06)
src/rgw/driver/rados/rgw_sal_rados.cc