From 5ece7af497eeb7320c5ee9eb3144ab267f7679f4 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Thu, 25 Jul 2024 12:24:01 +0000 Subject: [PATCH] doc: remove confusing comment --- pageserver/src/tenant/timeline/detach_ancestor.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/pageserver/src/tenant/timeline/detach_ancestor.rs b/pageserver/src/tenant/timeline/detach_ancestor.rs index 6ec479ae26..654237e0b0 100644 --- a/pageserver/src/tenant/timeline/detach_ancestor.rs +++ b/pageserver/src/tenant/timeline/detach_ancestor.rs @@ -310,7 +310,6 @@ impl SharedState { self.inner.lock().unwrap().cancel(attempt); }); - // the gate being entered does not matter much, but lets be strict if attempt.gate_entered.is_none() { let entered = timeline.gate.enter().map_err(|_| Error::ShuttingDown)?; attempt.gate_entered = Some(entered);