]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix sending resolve message
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 15 Nov 2013 01:30:39 +0000 (09:30 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 16 Dec 2013 04:15:24 +0000 (12:15 +0800)
need to send resolve message when mds is in reconnect state

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/MDS.cc

index 14080789000e1effa14f87179eb045d96ab1add3..c88a0240fe13f2c57caa2cb55a81a7f9083dbac2 100644 (file)
@@ -996,7 +996,8 @@ void MDS::handle_mds_map(MMDSMap *m)
   
   // RESOLVE
   // is someone else newly resolving?
-  if (is_resolve() || is_rejoin() || is_clientreplay() || is_active() || is_stopping()) {
+  if (is_resolve() || is_reconnect() || is_rejoin() ||
+      is_clientreplay() || is_active() || is_stopping()) {
     if (!oldmap->is_resolving() && mdsmap->is_resolving()) {
       set<int> resolve;
       mdsmap->get_mds_set(resolve, MDSMap::STATE_RESOLVE);