]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
MDSMonitor: Don't create new map for standby-replay spam.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 24 Jan 2011 18:56:39 +0000 (10:56 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 24 Jan 2011 18:57:51 +0000 (10:57 -0800)
commitf4a07df90d532a53ac6d8f4234ba4046ff01384e
treea04edf720bd54c775f97aba4364cc8186ddad3ea
parent785c4987e82314accc2da0be09e17c6126609838
MDSMonitor: Don't create new map for standby-replay spam.

If an MDS is unable to get into the standby-replay state for some
reason (MDS it should be following doesn't exist yet, there aren't
any open MDSes, etc) it will spam the Monitor with beacons asking
to change state. These will always go to prepare_beacon since
they're asking for a state change, but can't be granted.
When this happens, return false, not true!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mon/MDSMonitor.cc