Skip to content

Commit

Permalink
cold-store: prepare-hot: error -> warn (#8973)
Browse files Browse the repository at this point in the history
Error message in this case is confusing, warning is more appropriate.
  • Loading branch information
posvyatokum authored Apr 26, 2023
1 parent bbaaffc commit 17efef1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/cold-store/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,10 @@ impl PrepareHotCmd {
// COLD . . . . . . . . . H

if cold_head.height > rpc_head.height {
tracing::error!(target : "prepare-hot",
"The cold head is ahead of the rpc head. cold head height: {} rpc head height: {}",
cold_head.height,
rpc_head.height
tracing::warn!(target: "prepare-hot",
cold_head_height = cold_head.height,
rpc_head_height = rpc_head.height,
"The cold head is ahead of the RPC head. This should fix itself when the node catches up and becomes in sync"
);
}

Expand Down

0 comments on commit 17efef1

Please sign in to comment.