]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: validate the state+rank in MDS map
authorJohn Spray <john.spray@redhat.com>
Tue, 12 May 2015 16:24:58 +0000 (17:24 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 14 May 2015 12:58:31 +0000 (13:58 +0100)
commit0c5b9a2bab28364dede808076de4f52c32b5851f
tree00ff331cf708f42be404f4f041d262d8fa6141b2
parent46a8e0864dbef333a931191e33b7d907a133308b
mds: validate the state+rank in MDS map

Especially:
 * once I have been assigned a rank, it
can't be taken away without restarting
the daemon.
 * once I have entered standby, I can
only go upwards through the states.

Fixes: #11481
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDS.cc