From b2e0539bc783df70bbc9a643aa581b5b33bcf6b8 Mon Sep 17 00:00:00 2001 From: Yingxin Cheng Date: Thu, 3 Aug 2023 15:28:08 +0800 Subject: [PATCH] crimson/net: should not check shutdown from a different core Signed-off-by: Yingxin Cheng (cherry picked from commit 74e9098833e578d7514b8ab1f7a4588a052885a4) --- src/crimson/net/ProtocolV2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/net/ProtocolV2.cc b/src/crimson/net/ProtocolV2.cc index 0992c74ec39..55b669384ed 100644 --- a/src/crimson/net/ProtocolV2.cc +++ b/src/crimson/net/ProtocolV2.cc @@ -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={}", -- 2.47.3