]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: CephBool -> CephChoices in command map for pre-nautilus mons
authorSage Weil <sage@redhat.com>
Mon, 10 Dec 2018 14:19:27 +0000 (08:19 -0600)
committerSage Weil <sage@redhat.com>
Mon, 17 Dec 2018 15:01:35 +0000 (09:01 -0600)
commitbcf28db383aab52a9cded9a32067df21daf9339a
treeb7a647f8b3b36a03453a4c2fb19ebfbb33a7a243
parent66f5352772893cf457acdf702a53ff961fb7618b
mon: CephBool -> CephChoices in command map for pre-nautilus mons

If pre-nautilus mons are in quorum, send out a pre-nautilus compatible
set of commands.  Although nautilus mons can do this same translation on
the fly for pre-nautilus clients, pre-nautilus mons can't, so do it for
all mons.  This means the new CephBool behavior will only start working
once you upgrade all mons to nautilus.

Fixes: http://tracker.ceph.com/issues/37583
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/cmdparse.cc
src/common/cmdparse.h
src/mon/Monitor.cc
src/mon/Monitor.h