]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
MDSMonitor: be more conservative with use of pending_mdsmap.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 24 Jan 2011 18:30:07 +0000 (10:30 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 24 Jan 2011 18:57:51 +0000 (10:57 -0800)
commit1b45088e1c88f455b06e2a072d0fb8f0a29e03df
treefd4c175d1b4709b253897618481cfdd3bc8893ec
parenta9824b0456242f9dd1c516e9a8d46bec02733d34
MDSMonitor: be more conservative with use of pending_mdsmap.

Use the current mdsmap when looking for MDSes to standby-replay for,
as that way we know the other MDS is already up. Otherwise we could
try and come up together and potentially race.

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