]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/MgrClient: don't block command submission if no session yet
authorSage Weil <sage@redhat.com>
Sun, 26 Feb 2017 19:09:33 +0000 (14:09 -0500)
committerSage Weil <sage@redhat.com>
Wed, 29 Mar 2017 15:39:25 +0000 (11:39 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/MgrClient.cc
src/mgr/MgrClient.h

index e1e0a0c1636add48fb3c660d0846e89e8b545406..a1dadc884fe080bfa5dacaafc52bd103195bfa7f 100644 (file)
@@ -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({});
index 8f771d891b36ad1f02f42bf0d8c3b73c8ad86939..a97de3c94db7efdb031546ce74b2e19b645a1f4c 100644 (file)
@@ -66,7 +66,6 @@ protected:
   void wait_on_list(list<Cond*>& ls);
   void signal_cond_list(list<Cond*>& ls);
 
-  list<Cond*> waiting_for_session;
   Context *report_callback;
 
   // If provided, use this to compose an MPGStats to send with