]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/net: should not check shutdown from a different core
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 3 Aug 2023 07:28:08 +0000 (15:28 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 23 Aug 2023 04:49:09 +0000 (12:49 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/ProtocolV2.cc

index 0992c74ec390cf01ff57bc6eab4e96520b4e4a0d..55b669384ed3bfd588e97192b00030217c48e4df 100644 (file)
@@ -1904,7 +1904,7 @@ void ProtocolV2::trigger_replacing(bool reconnect,
   ceph_assert_always(state >= state_t::ESTABLISHING);
   ceph_assert_always(state <= state_t::WAIT);
   ceph_assert_always(has_socket || state == state_t::CONNECTING);
-  ceph_assert_always(!mover.socket->is_shutdown());
+  // mover.socket shouldn't be shutdown
 
   logger().info("{} start replacing ({}): pgs was {}, cs was {}, "
                 "client_cookie was {}, {}, new_sid={}",