add pg_version to create branch trace in pageserver to test custom storage image in local tilt setup

This commit is contained in:
BodoBolero
2024-09-08 08:36:37 +02:00
parent fd12dd942f
commit 7089e34070

View File

@@ -539,7 +539,12 @@ async fn timeline_create_handler(
tenant.wait_to_become_active(ACTIVE_TENANT_TIMEOUT).await?;
if let Some(ancestor_id) = request_data.ancestor_timeline_id.as_ref() {
tracing::info!(%ancestor_id, "starting to branch");
if let Some(pg_version) = request_data.pg_version.as_ref() {
tracing::info!(%pg_version, %ancestor_id, "starting to branch");
} else {
tracing::info!(%ancestor_id, "starting to branch");
}
} else {
tracing::info!("bootstrapping");
}