]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: Adjust replay state changes and options parsing.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 19 Jan 2011 23:59:46 +0000 (15:59 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 24 Jan 2011 18:57:30 +0000 (10:57 -0800)
commit54bdac7041878fd1b1c93e8bbd41b56069802d2b
treeb69737d55cda1b7bebd08ce234a695b94cc03643
parenta139b24cd1dcaf2bc6d82e80b585d60ef89d129f
mds: Adjust replay state changes and options parsing.

The MDS used to interpret g_conf.id as a rank. It no longer does
so and requires that standby ranks/names be set via the g_conf options,
or else along with the replay command in the CLI. Remove the MDS versions
of standby_for_[rank|name] and just use the ones in g_conf for simplicity.

However, the MDS only looks at the rank when switching to standby;
making names usable will require an update to the MDSMonitor code to
plug in ranks from names.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/cmds.cc
src/mds/MDS.cc