]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/MetricTypes: condition encoding on feature bits 39237/head
authorSage Weil <sage@newdream.net>
Sun, 31 Jan 2021 16:29:51 +0000 (10:29 -0600)
committerSage Weil <sage@newdream.net>
Tue, 2 Feb 2021 22:48:04 +0000 (16:48 -0600)
commitba426e31599a1ec6178ebea9b973859835550726
tree7b4394495b7e6f6f81f8654b07f1ea26646df911
parent74275226ac79999bfd40e683dc9a1309e76033bf
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>
(cherry picked from commit 5cf13459813228a2b8d78bba2d28a10528490c1f)
src/messages/MMgrConfigure.h
src/messages/MMgrReport.h
src/mgr/MetricTypes.h