Skip to content

Commit

Permalink
reclaims unref accounts from index (solana-labs#16838)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington committed Aug 25, 2021
1 parent 1791a2a commit cc70f23
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 cc70f23

Please sign in to comment.