]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MonClient: un-backoff on tick when we have a authenticated session
authorSage Weil <sage@redhat.com>
Wed, 26 Jul 2017 11:53:20 +0000 (07:53 -0400)
committerSage Weil <sage@redhat.com>
Wed, 26 Jul 2017 11:53:31 +0000 (07:53 -0400)
This means that if we do some backoff, then authenticate, and are healthy
for an extended period of time, a subsequent failure won't leave us
starting our hunting sequence with a large backoff.

Fixes: http://tracker.ceph.com/issues/20371
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonClient.cc

index 96975b31c528dc87bdc65c497f7e2aecbf6163ef..a0cd1e923c8ee2bbc023a7b08e5ee8ccd15149f9 100644 (file)
@@ -769,6 +769,8 @@ void MonClient::tick()
 
       send_log();
     }
+
+    _un_backoff();
   }
 
   schedule_tick();