From 1b01e1100cc0baafa42da5fe9071674675266cff Mon Sep 17 00:00:00 2001 From: "Alex Chi Z." <4198311+skyzh@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:13:03 -0500 Subject: [PATCH] Update pageserver/src/tenant/timeline/compaction.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Arpad Müller --- pageserver/src/tenant/timeline/compaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/timeline/compaction.rs b/pageserver/src/tenant/timeline/compaction.rs index befaa3ba36d24..0f148740d48c9 100644 --- a/pageserver/src/tenant/timeline/compaction.rs +++ b/pageserver/src/tenant/timeline/compaction.rs @@ -1800,7 +1800,7 @@ impl Timeline { /// Get a watermark for gc-compaction, that is the lowest LSN that we can use as the `gc_horizon` for /// the compaction algorithm. It is min(space_cutoff, time_cutoff, latest_gc_cutoff, standby_horizon). - /// Leases and retain_lsns are considered in the gc-compaction job itself so we don't need to compute it + /// Leases and retain_lsns are considered in the gc-compaction job itself so we don't need to account for them /// here. pub(crate) fn get_gc_compaction_watermark(self: &Arc) -> Lsn { let gc_cutoff_lsn = {