A missing nonce in the osd addrs was preventing the monitor from
detecting osd restarts. XioMessenger::bind() now sets the nonce in the
same way that SimpleMessenger and AsyncMessenger do
Signed-off-by: Casey Bodley <casey@cohortfs.com>
Signed-off-by: Vu Pham <vu@mellanox.com>
int r = portals.bind(&xio_msgr_ops, base_uri, shift_addr.get_port(), &port0);
if (r == 0) {
shift_addr.set_port(port0);
+ shift_addr.nonce = nonce;
set_myaddr(shift_addr);
did_bind = true;
}