Project

General

Profile

Bug #37617 ยป diff.patch

geng jichao, 01/09/2020 06:44 AM

View differences:

src/client/Client.cc
// 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 <<dendl;
// Always subscribe to next osdmap for blacklisted client
// until this client is not blacklisted.
if (blacklisted) {
    (1-1/1)