chore: downgrade log severity level of 'not_ready' nodes to info
This commit is contained in:
parent
045ed340dd
commit
5f47649d4d
|
@ -134,7 +134,7 @@ sync_cluster_conf2(Nodes) ->
|
||||||
msg => "ignored_nodes_when_sync_cluster_conf"
|
msg => "ignored_nodes_when_sync_cluster_conf"
|
||||||
},
|
},
|
||||||
?SLOG(warning, Warning);
|
?SLOG(warning, Warning);
|
||||||
true ->
|
true when Failed =/= [] ->
|
||||||
%% There are core nodes running but no one was able to reply.
|
%% There are core nodes running but no one was able to reply.
|
||||||
?SLOG(error, #{
|
?SLOG(error, #{
|
||||||
msg => "failed_to_sync_cluster_conf",
|
msg => "failed_to_sync_cluster_conf",
|
||||||
|
@ -142,6 +142,14 @@ sync_cluster_conf2(Nodes) ->
|
||||||
failed => Failed,
|
failed => Failed,
|
||||||
not_ready => NotReady
|
not_ready => NotReady
|
||||||
});
|
});
|
||||||
|
true ->
|
||||||
|
%% There are core nodes booting up
|
||||||
|
?SLOG(info, #{
|
||||||
|
msg => "peer_not_ready_for_config_sync",
|
||||||
|
reason => "The 'not_ready' peer node(s) are loading configs",
|
||||||
|
nodes => Nodes,
|
||||||
|
not_ready => NotReady
|
||||||
|
});
|
||||||
false ->
|
false ->
|
||||||
ok
|
ok
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue