Also assert in OSD::ms_get_authorizer since it is dangerous to proceed
if we are shutting down.
Fixes: http://tracker.ceph.com/issues/19900
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
command_table.clear();
timer.shutdown();
- session.reset();
+ if (session) {
+ session->con->mark_down();
+ session.reset();
+ }
}
bool MgrClient::ms_dispatch(Message *m)
{
dout(10) << "OSD::ms_get_authorizer type=" << ceph_entity_type_name(dest_type) << dendl;
+ if (is_stopping())
+ dout(10) << __func__ << " bailing, we are shutting down" << dendl;
+
if (dest_type == CEPH_ENTITY_TYPE_MON)
return true;