From 976e7e554ebdea8b9d7a068b036e203a6b24c175 Mon Sep 17 00:00:00 2001 From: Yingxin Date: Sat, 18 Aug 2018 06:07:29 +0800 Subject: [PATCH] crimson/common: apply config changes also on shard.0 Signed-off-by: Yingxin --- src/crimson/common/config_proxy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crimson/common/config_proxy.h b/src/crimson/common/config_proxy.h index 807ca958d5e39..a6016fc10ffca 100644 --- a/src/crimson/common/config_proxy.h +++ b/src/crimson/common/config_proxy.h @@ -48,6 +48,8 @@ class ConfigProxy : public seastar::peering_sharded_service // always apply the new settings synchronously on the owner shard, to // avoid racings with other do_change() calls in parallel. owner.values.reset(new_values); + owner.obs_mgr.apply_changes(owner.values->changed, + owner, nullptr); return seastar::parallel_for_each(boost::irange(1u, seastar::smp::count), [&owner, new_values] (auto cpu) { -- 2.39.5