Because MDCache::kick_find_ino_peers() is called when a MDS enters
clientreplay state.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
{
set<int> all, active;
mds->mdsmap->get_mds_set(all);
- mds->mdsmap->get_active_mds_set(active);
- mds->mdsmap->get_mds_set(active, MDSMap::STATE_STOPPING);
+ mds->mdsmap->get_clientreplay_or_active_or_stopping_mds_set(active);
dout(10) << "_do_find_ino_peer " << fip.tid << " " << fip.ino
<< " active " << active << " all " << all