]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: switch primary-{affinity,temp} checks to require_min_compat_client
authorSage Weil <sage@redhat.com>
Thu, 4 May 2017 17:19:13 +0000 (12:19 -0500)
committerSage Weil <sage@redhat.com>
Tue, 9 May 2017 16:32:55 +0000 (11:32 -0500)
commitf3fa3c0158bfe2a448be6ecf2dea6346d3775a92
tree5075105fb435733256c78085f6cbca2e030b72cc
parentc025323bf45c9d8bd77324206388ea98b6b3449b
mon/OSDMonitor: switch primary-{affinity,temp} checks to require_min_compat_client

If require_min_compat_client is set (we've finished luminous upgrade), use
that to enforce primary_temp and primary_affinity settings.  Otherwise,
use the legacy config option.

Drop the assert in update_from_paxos.

After luminous we can remove the config options entirely.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc