From 5f0fc0a0913e3e85cb031ae10e8e481d01d4b21d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 8 Jan 2019 14:31:13 -0600 Subject: [PATCH] mon/MonMap: calc_addr_mons() after setting rank addrvec Signed-off-by: Sage Weil --- src/mon/MonMap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/MonMap.h b/src/mon/MonMap.h index 7ea959e6737..5a852807ddb 100644 --- a/src/mon/MonMap.h +++ b/src/mon/MonMap.h @@ -351,6 +351,7 @@ public: void set_addrvec(const string& n, const entity_addrvec_t& a) { ceph_assert(mon_info.count(n)); mon_info[n].public_addrs = a; + calc_addr_mons(); } void encode(bufferlist& blist, uint64_t con_features) const;