From adab33284b96e6fe6cde138b7cbb818126e95b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arpad=20M=C3=BCller?= Date: Tue, 24 Sep 2024 14:32:04 +0200 Subject: [PATCH] fix --- pageserver/src/tenant.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant.rs b/pageserver/src/tenant.rs index e55a1263e61d..3253547a8072 100644 --- a/pageserver/src/tenant.rs +++ b/pageserver/src/tenant.rs @@ -1700,7 +1700,7 @@ impl Tenant { return Err(CreateTimelineError::AncestorNotActive); } - if !ancestor_timeline.is_archived() { + if ancestor_timeline.is_archived() == Some(true) { info!("tried to branch archived timeline"); return Err(CreateTimelineError::AncestorArchived); }