]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix standby_replay on startup
authorSage Weil <sage@newdream.net>
Tue, 23 Dec 2008 19:44:28 +0000 (11:44 -0800)
committerSage Weil <sage@newdream.net>
Tue, 23 Dec 2008 19:45:03 +0000 (11:45 -0800)
src/cmds.cc

index cd7fd2af14d1b8e95f97add4d16f0f07034125e4..ddcfd766d5fbfab9b843a71bb583fb0b09d01f0c 100644 (file)
@@ -43,7 +43,7 @@ int main(int argc, const char **argv)
   const char *monhost = 0;
   int whoami = -1;
   bool standby = false;  // by default, i'll start active.
-  int standby_replay_for = 0;
+  int standby_replay_for = -1;
   for (unsigned i=0; i<args.size(); i++) {
     if (strcmp(args[i], "--standby") == 0) 
       standby = true;