Skip to content

Commit

Permalink
IgnoreReclaims in indexgen (#4069)
Browse files Browse the repository at this point in the history
* IgnoreReclaims in indexgen

* pr

---------

Co-authored-by: HaoranYi <[email protected]>
  • Loading branch information
HaoranYi and HaoranYi authored Dec 12, 2024
1 parent e947bbf commit 2b9581a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts-db/src/accounts_index/in_mem_accounts_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ impl<T: IndexValue, U: DiskIndexValue + From<T> + Into<T>> InMemAccountsIndex<T,
(slot, account_info),
None, // should be None because we don't expect a different slot # during index generation
&mut Vec::default(),
UpsertReclaim::PopulateReclaims, // this should be ignore?
UpsertReclaim::IgnoreReclaims,
);
(
true, /* found in mem */
Expand All @@ -766,7 +766,7 @@ impl<T: IndexValue, U: DiskIndexValue + From<T> + Into<T>> InMemAccountsIndex<T,
// There can be no 'other' slot in the list.
None,
&mut Vec::default(),
UpsertReclaim::PopulateReclaims,
UpsertReclaim::IgnoreReclaims,
);
vacant.insert(disk_entry);
(
Expand Down

0 comments on commit 2b9581a

Please sign in to comment.