From: Sage Weil Date: Sun, 26 Feb 2017 19:09:33 +0000 (-0500) Subject: mgr/MgrClient: don't block command submission if no session yet X-Git-Tag: v12.0.2~252^2~56 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ff0857974ea91e83f4355b25a81198303907290;p=ceph.git mgr/MgrClient: don't block command submission if no session yet Signed-off-by: Sage Weil --- diff --git a/src/mgr/MgrClient.cc b/src/mgr/MgrClient.cc index e1e0a0c1636a..a1dadc884fe0 100644 --- a/src/mgr/MgrClient.cc +++ b/src/mgr/MgrClient.cc @@ -111,7 +111,6 @@ void MgrClient::reconnect() session->con->send_message(open); } - signal_cond_list(waiting_for_session); // resend any pending commands for (const auto &p : command_table.get_commands()) { MCommand *m = p.second.get_message({}); diff --git a/src/mgr/MgrClient.h b/src/mgr/MgrClient.h index 8f771d891b36..a97de3c94db7 100644 --- a/src/mgr/MgrClient.h +++ b/src/mgr/MgrClient.h @@ -66,7 +66,6 @@ protected: void wait_on_list(list& ls); void signal_cond_list(list& ls); - list waiting_for_session; Context *report_callback; // If provided, use this to compose an MPGStats to send with