Skip to content

Commit

Permalink
remove skip slots
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoranYi committed Sep 14, 2024
1 parent edda97e commit 1f1b33d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions accounts-db/src/ancient_append_vecs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,12 @@ impl AccountsDb {
}
}
let unpackable_slots_count = remove.len();

// Remove skipped slots
for i in remove.iter().rev() {
accounts_to_combine.remove(*i);
}

target_slots_sorted.sort_unstable();
self.shrink_ancient_stats
.slots_cannot_move_count
Expand Down

0 comments on commit 1f1b33d

Please sign in to comment.