Use a separate osd_client_t::in_osd_num for inbound OSD connections

This commit is contained in:
Vitaliy Filippov
2025-06-05 02:09:41 +03:00
parent f390e73dae
commit cd028612c8
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ void osd_messenger_t::init()
auto cl = cl_it->second;
cl_it++;
auto peer_fd = cl->peer_fd;
if (!cl->osd_num || cl->peer_state != PEER_CONNECTED && cl->peer_state != PEER_RDMA)
if (!cl->osd_num && !cl->in_osd_num || cl->peer_state != PEER_CONNECTED && cl->peer_state != PEER_RDMA)
{
// Do not run keepalive on regular clients
continue;