From bb299f0229110f6c7d6564893acd6d593092132f Mon Sep 17 00:00:00 2001 From: John Spray Date: Sun, 11 Feb 2024 14:14:00 +0000 Subject: [PATCH] control_plane: improved logging on re-attach --- control_plane/attachment_service/src/service.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/control_plane/attachment_service/src/service.rs b/control_plane/attachment_service/src/service.rs index 95efa8ecd7..69452cf7c2 100644 --- a/control_plane/attachment_service/src/service.rs +++ b/control_plane/attachment_service/src/service.rs @@ -686,6 +686,13 @@ impl Service { // request in flight over the network: TODO handle that by making location_conf API refuse // to go backward in generations. } + + tracing::info!( + "Responding with {} shards to node {}", + response.tenants.len(), + reattach_req.node_id + ); + Ok(response) }