info log on detach

This commit is contained in:
Joonas Koivunen
2024-07-25 09:27:49 +00:00
parent ba3a6645e7
commit 66d750ec20

View File

@@ -1168,6 +1168,12 @@ pub(super) async fn detach_and_reparent(
.await
.context("publish layers and detach ancestor")?;
tracing::info!(
ancestor=%ancestor.timeline_id,
%ancestor_lsn,
inherited_layers=%layers.len(),
"detached from ancestor"
);
(ancestor, ancestor_lsn, true)
}
Ancestor::Detached(ancestor, ancestor_lsn) => (ancestor, ancestor_lsn, false),