Fix NULL rmw buffer after the latest changes and add a testcase for it

This commit is contained in:
Vitaliy Filippov
2020-10-24 18:29:19 +03:00
parent 4872f617a4
commit 720985e4c7
4 changed files with 82 additions and 17 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ void osd_messenger_t::on_connect_peer(osd_num_t peer_osd, int peer_fd)
}
if (log_level > 0)
{
printf("[OSD %lu] Connected with peer OSD %lu (fd %d)\n", osd_num, peer_osd, peer_fd);
printf("[OSD %lu] Connected with peer OSD %lu (client %d)\n", osd_num, peer_osd, peer_fd);
}
wanted_peers.erase(peer_osd);
repeer_pgs(peer_osd);