]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Leave the zero'th shard of the zero'th generation for cls_lock
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 9 Feb 2021 23:10:50 +0000 (18:10 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 5 Apr 2021 17:48:09 +0000 (13:48 -0400)
commit262466609208e81f8fe54560fd07a81a4b78cd68
tree44234a074afb9e3d699528afce8fd442e973c89f
parent4a6a7b3900ca4d1e14423d1ac07a0be60edb0ad0
rgw: Leave the zero'th shard of the zero'th generation for cls_lock

Since data sync locks that object, instead of deleting it, truncate
the object and clear the omap.

(cls_lock uses xattrs.)

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 0d4e0abb8a699417ea75a6cd390786189ab964eb)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_log_backing.cc
src/rgw/rgw_log_backing.h