]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/msg/async/AsyncConnection.cc
update sources to v12.2.3
[ceph.git] / ceph / src / msg / async / AsyncConnection.cc
index e7895ddca75ac321b90548a0edaf7990d04f0ecd..f14be27412b3e612350652b70154b8f194b78ef6 100644 (file)
@@ -1832,7 +1832,7 @@ ssize_t AsyncConnection::handle_connect_msg(ceph_msg_connect &connect, bufferlis
   }
   if (state != STATE_ACCEPTING_WAIT_CONNECT_MSG_AUTH) {
     ldout(async_msgr->cct, 1) << __func__ << " state changed while accept_conn, it must be mark_down" << dendl;
-    assert(state == STATE_CLOSED);
+    assert(state == STATE_CLOSED || state == STATE_NONE);
     goto fail_registered;
   }