failed_store_id should be searched per pubkey (#27342)
This commit is contained in:
parent
2014525882
commit
66e2df8ddc
|
@ -2227,8 +2227,8 @@ impl AccountsDb {
|
|||
// do not match the criteria of deleting all appendvecs which contain them
|
||||
// then increment their storage count.
|
||||
let mut already_counted = HashSet::new();
|
||||
let mut failed_store_id = None;
|
||||
for (pubkey, (account_infos, ref_count_from_storage)) in purges.iter() {
|
||||
let mut failed_store_id = None;
|
||||
let all_stores_being_deleted =
|
||||
account_infos.len() as RefCount == *ref_count_from_storage;
|
||||
if all_stores_being_deleted {
|
||||
|
|
Loading…
Reference in New Issue