diff --git a/pageserver/src/tenant/timeline.rs b/pageserver/src/tenant/timeline.rs index 3287f8783e4c..294a4ad9e5f5 100644 --- a/pageserver/src/tenant/timeline.rs +++ b/pageserver/src/tenant/timeline.rs @@ -851,10 +851,10 @@ impl CompactLsnRange { pub(crate) struct CompactOptions { pub flags: EnumSet, /// If set, the compaction will only compact the key range specified by this option. - /// This option is only used by GC compaction. For the full explanation, see [`GcCompactionJob`]. + /// This option is only used by GC compaction. For the full explanation, see [`compaction::GcCompactJob`]. pub compact_key_range: Option, /// If set, the compaction will only compact the LSN within this value. - /// This option is only used by GC compaction. For the full explanation, see [`GcCompactionJob`]. + /// This option is only used by GC compaction. For the full explanation, see [`compaction::GcCompactJob`]. pub compact_lsn_range: Option, /// Enable sub-compaction (split compaction job across key ranges). /// This option is only used by GC compaction. diff --git a/pageserver/src/tenant/timeline/compaction.rs b/pageserver/src/tenant/timeline/compaction.rs index 9b60c91ce729..4c1b75c0daa6 100644 --- a/pageserver/src/tenant/timeline/compaction.rs +++ b/pageserver/src/tenant/timeline/compaction.rs @@ -115,7 +115,7 @@ pub struct GcCompactionJobDescription { /// generate an image == this LSN. retain_lsns_below_horizon: Vec, /// Maximum layer LSN processed in this compaction, that is max(end_lsn of layers). Exclusive. All data - /// >= this LSN will be kept and will not be rewritten. + /// \>= this LSN will be kept and will not be rewritten. max_layer_lsn: Lsn, /// Minimum layer LSN processed in this compaction, that is min(start_lsn of layers). Inclusive. /// All access below (strict lower than `<`) this LSN will be routed through the normal read path instead of