]> git-server-git.apps.pok.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 20:14:02 +0000 (16:14 -0400)
commitcb2bbc3737ef959e11351e4bbafc276b66728a48
tree8f601db5c35dd2675d612e65d8133bf88cede067
parentb8d2f2c358013dd689c54eb6f5a1cb0f7e905321
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>
(cherry picked from commit 2d9045a9a57a3b08d525f4f1ecb3b255add26b1f)
src/mon/Elector.cc
src/mon/Monitor.cc
src/mon/Monitor.h
src/mon/PGMonitorCommands.h [new file with mode: 0644]