mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
mon/ConfigMonitor: process subs from update_from_paxos
This is what OSDMonitor and MDSMonitor do. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
148db39cf9
commit
6d13ab2d9a
@ -47,6 +47,7 @@ void ConfigMonitor::update_from_paxos(bool *need_bootstrap)
|
||||
version = get_last_committed();
|
||||
dout(10) << __func__ << " " << version << dendl;
|
||||
load_config();
|
||||
check_all_subs();
|
||||
}
|
||||
|
||||
void ConfigMonitor::create_pending()
|
||||
@ -509,7 +510,6 @@ void ConfigMonitor::tick()
|
||||
|
||||
void ConfigMonitor::on_active()
|
||||
{
|
||||
check_all_subs();
|
||||
}
|
||||
|
||||
void ConfigMonitor::load_config()
|
||||
|
Loading…
Reference in New Issue
Block a user