From: Yingxin Date: Fri, 17 Aug 2018 22:07:29 +0000 (+0800) Subject: crimson/common: apply config changes also on shard.0 X-Git-Tag: v14.0.1~542^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=976e7e554ebdea8b9d7a068b036e203a6b24c175;p=ceph.git crimson/common: apply config changes also on shard.0 Signed-off-by: Yingxin --- 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) {