From c2bba8ebee70eeb1913f02eb1bd78d8315697bc5 Mon Sep 17 00:00:00 2001 From: Vu Pham Date: Fri, 15 May 2015 09:52:20 -0700 Subject: [PATCH] xio: save nonce for bind address 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 Signed-off-by: Vu Pham --- src/msg/xio/XioMessenger.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msg/xio/XioMessenger.cc b/src/msg/xio/XioMessenger.cc index 3cfe34aee9da..deb3e4251eeb 100644 --- a/src/msg/xio/XioMessenger.cc +++ b/src/msg/xio/XioMessenger.cc @@ -733,6 +733,7 @@ int XioMessenger::bind(const entity_addr_t& addr) 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; } -- 2.47.3