]> git-server-git.apps.pok.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)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Mon, 25 Sep 2017 10:32:28 +0000 (18:32 +0800)
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 7a1a2a0721534d333be203ebd0d74aa878136e64..073fa4cea98147a8cc5485f04fe73240e7b2148d 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)