]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monc: hunting by default
authorSage Weil <sage@newdream.net>
Thu, 20 May 2010 23:13:34 +0000 (16:13 -0700)
committerSage Weil <sage@newdream.net>
Fri, 21 May 2010 19:08:35 +0000 (12:08 -0700)
Otherwise if we fail to connect to the first mon we try, we never retry.

src/mon/MonClient.h

index 0cbc9f96f5a2b3e3e4504ea839d98d793d89467d..4b4beb5744b5856a37d4cafb59077e0a054cfdfe 100644 (file)
@@ -171,7 +171,7 @@ public:
     messenger(NULL), cur_mon(-1),
     monc_lock("MonClient::monc_lock"),
     timer(monc_lock),
-    hunting(false),
+    hunting(true),
     want_monmap(true),
     want_keys(0), global_id(0),
     authenticate_err(0),