]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix radosgw daemon core when reopen logs 10737/head
authorweiqiaomiao <wei.qiaomiao@zte.com.cn>
Tue, 16 Aug 2016 06:19:20 +0000 (14:19 +0800)
committerweiqiaomiao <wei.qiaomiao@zte.com.cn>
Tue, 16 Aug 2016 06:39:45 +0000 (14:39 +0800)
commitea5d7fdd7fa978deadeee42bc0ea33fb11662e59
treed478d2eb4a0f7f9095b6ce431daae4d0e77ec98d
parent1506199721707d0fc59fc5d2e4e2dae6918cb895
rgw: fix radosgw daemon core when reopen logs

the rgw_user_st_syn thread use the pointer meta_mgr in RGWUserStatsCache::sync_all_users() fuction, so we should close the thread before delete the pointer in RGWRados::finalize() function when close storage before reopen_logs.

Fixes: http://tracker.ceph.com/issues/17036
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
src/rgw/rgw_rados.cc