cluster show: show unreachable node's upstream name as uncertain

This commit is contained in:
Ian Barwick
2020-02-25 16:49:24 +09:00
parent cebb1249aa
commit 6ef722956b

View File

@@ -2250,8 +2250,9 @@ format_node_status(t_node_info *node_info, PQExpBufferData *node_status, PQExpBu
* Unable to retrieve the node's copy of its own record - copy the * Unable to retrieve the node's copy of its own record - copy the
* name from our own copy of the record * name from our own copy of the record
*/ */
appendPQExpBufferStr(upstream, appendPQExpBuffer(upstream,
node_info->upstream_node_name); "? %s",
node_info->upstream_node_name);
} }
else if (remote_node_rec.type == WITNESS) else if (remote_node_rec.type == WITNESS)
{ {