]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: include PGMonitor commands with mixed-version mons
authorSage Weil <sage@redhat.com>
Sat, 5 Aug 2017 19:30:15 +0000 (15:30 -0400)
committerSage Weil <sage@redhat.com>
Mon, 7 Aug 2017 19:12:10 +0000 (15:12 -0400)
commit2d9045a9a57a3b08d525f4f1ecb3b255add26b1f
tree7136ae8e231b47fabd48f98df5b4d4373aa6f54b
parent349b3c9bef12728c336cf584ea5c70b8184b66e9
mon: include PGMonitor commands with mixed-version mons

While we have a mixed version cluster, we have to advertise our
PGMonitor commands to our peons or else commands like 'pg dump'
won't work.

Once the mon feature flag is set, we can drop that because each
mon will include the mgr commands (either those stored in paxos
or the statically compiled ones until that point).

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/Elector.cc
src/mon/Monitor.cc
src/mon/Monitor.h
src/mon/PGMonitorCommands.h [new file with mode: 0644]