From a1f0156c311233cd3dabf1841a6529759ef5debf Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 25 Feb 2019 16:52:13 -0600 Subject: [PATCH] mon/OSDMonitor: remove old v1 addrs when converting blacklist to new TYPE_ANY form Fixes: http://tracker.ceph.com/issues/38477 Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index b0c9fa18d77..aefeef31ca7 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -1395,6 +1395,7 @@ void OSDMonitor::encode_pending(MonitorDBStore::TransactionRef t) auto a = i.first; a.set_type(entity_addr_t::TYPE_ANY); pending_inc.new_blacklist[a] = i.second; + pending_inc.old_blacklist.push_back(i.first); } } } -- 2.47.3