]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: write configs synchronously on shard.0 23284/head
authorKefu Chai <kchai@redhat.com>
Fri, 27 Jul 2018 12:30:13 +0000 (20:30 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 28 Jul 2018 15:13:41 +0000 (23:13 +0800)
commit74fd334a6ebe023c1c4b6d80d298857e2d4fe7bf
tree380615cd447dd9f5e74a2fcc9b38ae33d4b82d99
parent54c0e4385b6086aabe0274ce96c3ea9a76f64c04
crimson/common: write configs synchronously on shard.0

to avoid potential racings on the same shard. before this change, we
apply the change in async. after this change, all changes happens on the
owner shard (i.e. shard.0), and the changes are applied synchronously.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/config_proxy.h
src/test/crimson/test_config.cc