From 8506008d95022c6180f3d1846c5db890731b7216 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 24 Oct 2023 17:07:44 +0100 Subject: [PATCH] pageserver: create timelines/ dir when configuring secondary location --- pageserver/src/tenant/mgr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/mgr.rs b/pageserver/src/tenant/mgr.rs index 5c76965f1f..918e9b6a94 100644 --- a/pageserver/src/tenant/mgr.rs +++ b/pageserver/src/tenant/mgr.rs @@ -919,7 +919,7 @@ impl TenantManager { // safely be recreated next time this tenant location is configured. unsafe_create_dir_all(&timelines_path) .await - .with_context(|| format!("Creating {tenant_path}"))?; + .with_context(|| format!("Creating {timelines_path}"))?; Tenant::persist_tenant_config(self.conf, &tenant_id, &new_location_config) .await