mirror of
https://github.com/ceph/ceph
synced 2024-12-26 21:43:10 +00:00
osd: do not send peering messages during init
Do not send any peering messages while we are still working our way through init(). Fixes: #7093 Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
4f07848987
commit
35da8f9d80
@ -6062,7 +6062,8 @@ bool OSD::compat_must_dispatch_immediately(PG *pg)
|
||||
void OSD::dispatch_context(PG::RecoveryCtx &ctx, PG *pg, OSDMapRef curmap,
|
||||
ThreadPool::TPHandle *handle)
|
||||
{
|
||||
if (service.get_osdmap()->is_up(whoami)) {
|
||||
if (service.get_osdmap()->is_up(whoami) &&
|
||||
is_active()) {
|
||||
do_notifies(*ctx.notify_list, curmap);
|
||||
do_queries(*ctx.query_map, curmap);
|
||||
do_infos(*ctx.info_map, curmap);
|
||||
|
Loading…
Reference in New Issue
Block a user