]> 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, 29 Mar 2021 16:25:58 +0000 (12:25 -0400)
commit0d4e0abb8a699417ea75a6cd390786189ab964eb
tree1e85c715a746006e393cbcfa2fe774e3fc9c47d1
parente97de55f46bbe67b523abfb4c30c50f1547f2601
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>
src/rgw/rgw_log_backing.cc
src/rgw/rgw_log_backing.h