]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/net: check SERVER_WAIT state won't send
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 18 Oct 2022 08:14:01 +0000 (16:14 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 20 Oct 2022 03:01:00 +0000 (11:01 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/ProtocolV2.cc

index 2395d908b269e48652456acdc4e3f38dc77c78d9..d70b01147145bead71663a2c8ade6989412ecc68 100644 (file)
@@ -2088,7 +2088,7 @@ void ProtocolV2::execute_wait(bool max_backoff)
 
 void ProtocolV2::execute_server_wait()
 {
-  trigger_state(state_t::SERVER_WAIT, write_state_t::delay, false);
+  trigger_state(state_t::SERVER_WAIT, write_state_t::none, false);
   gated_execute("execute_server_wait", [this] {
     return read_exactly(1).then([this] (auto bl) {
       logger().warn("{} SERVER_WAIT got read, abort", conn);