Need to shut this thread first, so that async callbacks don't
occur when we shut down the data/meta sync processors.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
fi
pos=`echo $pos | cut -d: -f1`
-base_port=$((6800+pos*10))
+base_port=$((6800+pos*20))
export VSTART_DEST=$RUN_ROOT_PATH/$instance
export CEPH_PORT=$base_port
void RGWRados::finalize()
{
+ if (async_rados) {
+ async_rados->stop();
+ }
if (run_sync_thread) {
Mutex::Locker l(meta_sync_thread_lock);
meta_sync_processor_thread->stop();
delete meta_mgr;
delete data_log;
if (async_rados) {
- async_rados->stop();
delete async_rados;
}
if (use_gc_thread) {