From 2a24b7ac54d0b96558ce2a184a9e8582be2fba65 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 9 Jan 2025 14:12:59 +0000 Subject: [PATCH] storcon: don't log a heartbeat error during shutdown --- storage_controller/src/service.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage_controller/src/service.rs b/storage_controller/src/service.rs index 359fcb3288e3..2bcdc57b172f 100644 --- a/storage_controller/src/service.rs +++ b/storage_controller/src/service.rs @@ -1046,6 +1046,9 @@ impl Service { // on a snapshot of the nodes. tracing::info!("Node {} was not found after heartbeat round", node_id); } + Err(ApiError::ShuttingDown) => { + // No-op: we're shutting down, no need to try and update any nodes' statuses + } Err(err) => { // Transition to active involves reconciling: if a node responds to a heartbeat then // becomes unavailable again, we may get an error here.