]> git-server-git.apps.pok.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, 5 Apr 2021 17:48:19 +0000 (13:48 -0400)
commit497c4231beec9caa79d815d571f511040784bbb8
tree00d3349ab49b95d826a6d4a179fb1f29d9f28a7e
parent262466609208e81f8fe54560fd07a81a4b78cd68
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>
(cherry picked from commit 7018c25d47edf7e12b581f7f28c2549fe73bde15)
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