Skip to content

Commit

Permalink
storcon: don't log a heartbeat error during shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Jan 9, 2025
1 parent dc28424 commit 2a24b7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storage_controller/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2a24b7a

Please sign in to comment.