This commit is contained in:
Lev Kokotov
2022-02-06 12:52:59 -08:00
parent f8d6bd8d89
commit 290015957b

View File

@@ -157,7 +157,7 @@ impl ConnectionPool {
// Everything is banned, nothig is banned
if guard[shard].len() == self.databases[shard].len() {
guard.clear();
guard[shard].clear();
drop(guard);
println!(">> Unbanning all replicas.");
return false;