]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/mds: fix MDSMap upgrade decoding 12097/head
authorJohn Spray <john.spray@redhat.com>
Mon, 21 Nov 2016 12:10:05 +0000 (12:10 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 22 Nov 2016 23:42:38 +0000 (23:42 +0000)
commita977c9029ff80b4eb4f3b128965693694b729425
tree57f69e920c1e59d0199ec4dfd2da5f4c40751a8f
parent44d9f9749ca26932b06863cdf81669b8b76959ce
src/mds: fix MDSMap upgrade decoding

Hammer MDSMonitors did not validate the state in beacons
and would apply anything to the mds_info_t for a standby,
such as setting it to down:dne.  We must handle this
case during upgrade.

Fixes: http://tracker.ceph.com/issues/17837
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/FSMap.cc