Revert "reclaims unref accounts from index (#16838) (#17005)"

This reverts commit 3e43b042eb.
This commit is contained in:
Jeff Washington (jwash)
2021-05-03 14:58:13 -05:00
committed by Michael Vines
parent bda3bd1557
commit b56e66310d

View File

@ -1598,9 +1598,7 @@ impl AccountsDb {
// Don't reset from clean, since the pubkeys in those stores may need to be unref'ed
// and those stores may be used for background hashing.
let reset_accounts = false;
let mut reclaim_result = ReclaimResult::default();
let reclaim_result = Some(&mut reclaim_result);
self.handle_reclaims(&reclaims, None, false, reclaim_result, reset_accounts);
self.handle_reclaims(&reclaims, None, false, None, reset_accounts);
reclaims_time.stop();