From 755ec735107c75156ae4935f7255bbfe5dc384d9 Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Mon, 25 Sep 2017 14:55:55 +0800 Subject: [PATCH] mon/osd_metadata: sync osd_metadata table sync osd_metadata table to new mons when add new mons Signed-off-by: huanwen ren --- src/mon/OSDMonitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 09082b64f7e5f..1fd2b2f9e3a4d 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -268,6 +268,7 @@ void OSDMonitor::get_store_prefixes(std::set& 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) -- 2.39.5