]> 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)
committerKefu Chai <kchai@redhat.com>
Mon, 30 Oct 2017 08:20:36 +0000 (16:20 +0800)
sync osd_metadata table to new mons when add new mons

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
(cherry picked from commit 755ec735107c75156ae4935f7255bbfe5dc384d9)

src/mon/OSDMonitor.cc

index 2b366cd5331b7ac6c5e11e8e874d14bf36c909b2..20a0761e18aac6f80e6b851add9aafa8d8d74713 100644 (file)
@@ -268,6 +268,7 @@ void OSDMonitor::get_store_prefixes(std::set<string>& s)
 {
   s.insert(service_name);
   s.insert(OSD_PG_CREATING_PREFIX);
+  s.insert(OSD_METADATA_PREFIX);
 }
 
 void OSDMonitor::update_from_paxos(bool *need_bootstrap)