lastmap = nextmap;
handle.reset_tp_timeout();
}
- if (!is_booting())
- pg->handle_activate_map(rctx);
+ pg->handle_activate_map(rctx);
}
/**
void OSD::dispatch_context(PG::RecoveryCtx &ctx, PG *pg, OSDMapRef curmap)
{
- do_notifies(*ctx.notify_list, curmap);
+ if (service.get_osdmap()->is_up(whoami)) {
+ do_notifies(*ctx.notify_list, curmap);
+ do_queries(*ctx.query_map, curmap);
+ do_infos(*ctx.info_map, curmap);
+ }
delete ctx.notify_list;
- do_queries(*ctx.query_map, curmap);
delete ctx.query_map;
- do_infos(*ctx.info_map, curmap);
delete ctx.info_map;
if ((ctx.on_applied->empty() &&
ctx.on_safe->empty() &&