]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWMetaSyncShardCR drops stack refs on destruction
authorCasey Bodley <cbodley@redhat.com>
Wed, 21 Dec 2016 19:32:04 +0000 (14:32 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 13 Jan 2017 17:24:05 +0000 (12:24 -0500)
commit060fe72faf6a483a36d481207c6624c46a414231
tree922695d9fe6e5b302fb8f5baf790a79068f63373
parent1a6fd6b8d9765d67204eb5d571554bf6efd61bf4
rgw: RGWMetaSyncShardCR drops stack refs on destruction

if the coroutine is canceled before collect_children() can clean up
all of its child stacks, those stack refs will leak. store these
stacks as boost::intrusive_ptr so the ref is dropped automatically on
destruction

Fixes: http://tracker.ceph.com/issues/18300
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_sync.cc