diff --git a/src/client/Client.cc b/src/client/Client.cc index 0b240cb..3abccd2 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -2480,12 +2480,14 @@ void Client::handle_osd_map(MOSDMap *m) // some PGs were inaccessible. objecter->op_cancel_writes(-EBLACKLISTED); - } else if (blacklisted) { + } + + if(blacklisted) { // Handle case where we were blacklisted but no longer are blacklisted = objecter->with_osdmap([myaddr](const OSDMap &o){ return o.is_blacklisted(myaddr);}); } - + ldout(cct, 1) << __func__ << "blacklisted " << blacklisted <