]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/osd_metadata: sync osd_metadata table
authorhuanwen ren <ren.huanwen@zte.com.cn>
Mon, 25 Sep 2017 06:55:55 +0000 (14:55 +0800)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Sep 2017 09:53:42 +0000 (10:53 +0100)
sync osd_metadata table to new mons when add new mons

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mon/OSDMonitor.cc

index 09082b64f7e5fe151c71864b06494435cfc88ec4..1fd2b2f9e3a4df679b9b6b6ebfb56fee65a9da9e 100644 (file)
@@ -268,6 +268,7 @@ void OSDMonitor::get_store_prefixes(std::set<string>& s) const
 {
   s.insert(service_name);
   s.insert(OSD_PG_CREATING_PREFIX);
+  s.insert(OSD_METADATA_PREFIX);
 }
 
 void OSDMonitor::update_from_paxos(bool *need_bootstrap)