]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/MetricTypes: condition encoding on feature bits 39206/head
authorSage Weil <sage@newdream.net>
Sun, 31 Jan 2021 16:29:51 +0000 (10:29 -0600)
committerSage Weil <sage@newdream.net>
Mon, 1 Feb 2021 20:25:42 +0000 (14:25 -0600)
commit5cf13459813228a2b8d78bba2d28a10528490c1f
tree7a4640f59570e6e48f1b2eb370cd65573625fd44
parentc26eaed15a6cfa9bddd975d335c4c28af0c3651b
mgr/MetricTypes: condition encoding on feature bits

Do not encode new metric|config types for older peers.

The combination of boost::optional and boost::variant make this super
awkward to condition on the features. :(

Fixes: https://tracker.ceph.com/issues/49069
Signed-off-by: Sage Weil <sage@newdream.net>
src/messages/MMgrConfigure.h
src/messages/MMgrReport.h
src/mgr/MetricTypes.h