Project

General

Profile

Bug #41585

Updated by Nathan Cutler over 4 years ago

2019-08-09 14:41:39.292140 7fd33eba7700    0 log_channel(cluster) log [WRN] : client id 2646901 has not responded to cap revoke by MDS for over 30 seconds, evicting 
 2019-08-09 14:41:42.431933 7fd33eba7700    0 log_channel(cluster) log [WRN] : client id 2646901 has not responded to cap revoke by MDS for over 30 seconds, evicting 

 <pre> ``` 
 std::vector<client_t> Locker::get_late_revoking_clients(double timeout) const 
 { 
   std::vector<client_t> result; 

   if (any_late_revoking_caps(revoking_caps, timeout)) { 
     // Slow path: execute in O(N_clients) 
     for (auto &p : revoking_caps_by_client) { 
       if (any_late_revoking_caps(p.second, timeout)) { 
         result.push_back(p.first); 
       } 
     } 
   } else { 
     // Fast path: no misbehaving clients, execute in O(1) 
   } 
   return result; 
 } 
 </pre> ``` 

 client is put to to_evict vector twice in the situation client does't response two caps revoke. 

Back