]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWBucketSyncStatusManager uses existing async_rados 12229/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 29 Nov 2016 22:15:27 +0000 (17:15 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Nov 2016 22:17:34 +0000 (17:17 -0500)
commit3ad2c2a8143ef527732e344089bbce2c75a5c2c7
treed60abc9a88131f1cca11d77e8e9cd47546bbd215
parenta1c6017a7a4daa20b3ceffc70bbdfb79e7f2fd56
rgw: RGWBucketSyncStatusManager uses existing async_rados

RGWBucketSyncStatusManager was creating its own RGWAsyncRadosProcessor
and failing to clean it up on destruction. A recent change turned
global_init()'s return value into an intrusive_ptr to guarantee that our
CephContext is freed, and this triggered an assertion that all worker
threads were shut down

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