From d96e8018254da2d0e7efde135ebc6c558def9ef2 Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Mon, 8 Aug 2022 09:30:37 -0600 Subject: [PATCH] Change the report to something like this instead: ``` Replica: Server name unknown at this time (peerID: jZ6RvVRH), outdated, OFFLINE, not seen ``` After discussing with @ripienaar, this text convey better a sense that this is a transient situation. Signed-off-by: Ivan Kozlovic --- server/jetstream_cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/jetstream_cluster.go b/server/jetstream_cluster.go index 4382665c..606c8e27 100644 --- a/server/jetstream_cluster.go +++ b/server/jetstream_cluster.go @@ -6870,7 +6870,7 @@ func (js *jetStream) clusterInfo(rg *raftGroup) *ClusterInfo { // If not, then add a name that indicates that the server name // is unknown at this time, and clear the lag since it is misleading // (the node may not have that much lag). - pi.Name, pi.Lag = fmt.Sprintf("", rp.ID), 0 + pi.Name, pi.Lag = fmt.Sprintf("Server name unknown at this time (peerID: %s)", rp.ID), 0 } ci.Replicas = append(ci.Replicas, pi) }