Skip to content

Commit

Permalink
nothing is high slot, so just pack smallest
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington committed Sep 6, 2024
1 parent af2b33d commit 7f9ec71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/ancient_append_vecs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ impl AccountsDb {
let max_slot = slots.iter().max().cloned().unwrap_or_default();
// heuristic to include some # of newly eligible ancient slots so that the pack algorithm always makes progress
let high_slot_boundary = max_slot.saturating_sub(HIGH_SLOT_OFFSET);
let is_high_slot = |slot| slot >= high_slot_boundary;
let is_high_slot = |slot| false; // nothign is high slot slot >= high_slot_boundary;

for slot in &slots {
if let Some(storage) = self.storage.get_slot_storage_entry(*slot) {
Expand Down

0 comments on commit 7f9ec71

Please sign in to comment.