]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: allow subscription to kv/config-key data
authorSage Weil <sage@newdream.net>
Tue, 16 Feb 2021 19:43:19 +0000 (14:43 -0500)
committerSage Weil <sage@newdream.net>
Wed, 17 Feb 2021 17:27:58 +0000 (12:27 -0500)
commitfbc536d014e308ea884a4af70f36401c4ffadfdd
tree77a02b6948c0a64c7b63557592f7dec06482ca10
parentbb7ebc41532aeb23cff2241ab07b3f01c2f57ddd
mon: allow subscription to kv/config-key data

Allow subscription to config-key/kv data.  Initially we'll send a full
dump of the prefix.  As changes occur, we'll send incremental diffs,
unless the subscriber is too far behind, in which case we'll send a full
dump again.

There is a new message, MKVData, to support this.

No compat issues since old clients won't subscribe to this stream unless
they know how to handle it.

Signed-off-by: Sage Weil <sage@newdream.net>
src/messages/MKVData.h [new file with mode: 0644]
src/mon/KVMonitor.cc
src/mon/KVMonitor.h
src/mon/Monitor.cc
src/msg/Message.cc
src/msg/Message.h