Skip to content

Commit

Permalink
reclaims unref accounts from index (#16838) (#17005)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6381ee3)

Co-authored-by: Jeff Washington (jwash) <[email protected]>
  • Loading branch information
mergify[bot] and jeffwashington authored May 3, 2021
1 parent 851742e commit 3e43b04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,9 @@ 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;
self.handle_reclaims(&reclaims, None, false, None, reset_accounts);
let mut reclaim_result = ReclaimResult::default();
let reclaim_result = Some(&mut reclaim_result);
self.handle_reclaims(&reclaims, None, false, reclaim_result, reset_accounts);

reclaims_time.stop();

Expand Down

0 comments on commit 3e43b04

Please sign in to comment.