Skip to content

Commit

Permalink
Update pageserver/src/tenant/timeline/compaction.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Schwarz <christian@neon.tech>
  • Loading branch information
skyzh and problame authored Jul 11, 2024
1 parent 707ec2c commit 895cca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pageserver/src/tenant/timeline/compaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ impl Timeline {
);
}
}
// Step 1: split history into len(retain_lsn) + 2 buckets, where the last bucket is for all deltas above the horizon,
// Step 1: split history into len(retain_lsn_below_horizon) + 2 buckets, where the last bucket is for all deltas above the horizon,
// and the second-to-last bucket is for the horizon. Each bucket contains lsn_last_bucket < deltas <= lsn_this_bucket.
let (mut split_history, lsn_split_points) = {
let mut split_history = Vec::new();
Expand Down

0 comments on commit 895cca9

Please sign in to comment.