]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Wait until a generation has been empty for an hour to delete
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 10 Feb 2021 21:18:09 +0000 (16:18 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 29 Mar 2021 16:25:58 +0000 (12:25 -0400)
commit7018c25d47edf7e12b581f7f28c2549fe73bde15
treec3c6832c29bb4c082f088c6e56c24ca0177a54b2
parent0d4e0abb8a699417ea75a6cd390786189ab964eb
rgw: Wait until a generation has been empty for an hour to delete

This fixes a problem where, while the backing handle remains allocated
while a call completes, the objects it depends on may be deleted
behind it.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_datalog.cc
src/rgw/rgw_log_backing.cc
src/rgw/rgw_log_backing.h
src/test/rgw/test_log_backing.cc