]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/AuthMonitor: start at format 1 (latest) for new clusters
authorSage Weil <sage@inktank.com>
Fri, 21 Jun 2013 00:44:06 +0000 (17:44 -0700)
committerSage Weil <sage@inktank.com>
Tue, 25 Jun 2013 16:57:00 +0000 (09:57 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/AuthMonitor.cc

index 46e81b661e0ce0eb12b834e497eef4e1fd4c486f..b7a6a764d788307d956a14365dd46a6512f9d85a 100644 (file)
@@ -113,6 +113,8 @@ void AuthMonitor::create_initial()
   inc.inc_type = GLOBAL_ID;
   inc.max_global_id = max_global_id;
   pending_auth.push_back(inc);
+
+  format_version = 1;
 }
 
 void AuthMonitor::update_from_paxos(bool *need_bootstrap)