From: "Yan, Zheng" <zheng.z.yan@xxxxxxxxx> MDS in clientreply state already start servering requests. It also make MDS::handle_mds_recovery() and MDS::recovery_done() match. Signed-off-by: Yan, Zheng <zheng.z.yan@xxxxxxxxx> --- src/mds/MDS.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mds/MDS.cc b/src/mds/MDS.cc index 282fa64..b91dcbd 100644 --- a/src/mds/MDS.cc +++ b/src/mds/MDS.cc @@ -1032,7 +1032,9 @@ void MDS::handle_mds_map(MMDSMap *m) set<int> oldactive, active; oldmap->get_mds_set(oldactive, MDSMap::STATE_ACTIVE); + oldmap->get_mds_set(oldactive, MDSMap::STATE_CLIENTREPLAY); mdsmap->get_mds_set(active, MDSMap::STATE_ACTIVE); + mdsmap->get_mds_set(active, MDSMap::STATE_CLIENTREPLAY); for (set<int>::iterator p = active.begin(); p != active.end(); ++p) if (*p != whoami && // not me oldactive.count(*p) == 0) // newly so? -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html