Adjusting the field name in pcp_watchdog_info.
authorMuhammad Usama <m.usama@gmail.com>
Tue, 1 Feb 2022 13:57:13 +0000 (18:57 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Tue, 1 Feb 2022 13:57:13 +0000 (18:57 +0500)
Details in: https://www.pgpool.net/pipermail/pgpool-hackers/2021-December/004070.html

doc/src/sgml/ref/pcp_watchdog_info.sgml
src/tools/pcp/pcp_frontend_client.c

index 3f3b9b5c165348af4ab1d4bd77a280389bd7dc10..c91d4cd27a1eb402ae77f1cba35bd6ed490c9955 100644 (file)
@@ -90,7 +90,7 @@ Pgpool-II documentation
 
     1. Total watchdog nodes in the cluster
     2. Total watchdog nodes in the cluster with active membership
-    3. Is VIP is up on current node?
+    3. Local node's escalation status
     4. Leader node name
     5. Leader node host
    </literallayout>
@@ -120,7 +120,7 @@ Pgpool-II documentation
    Nodes required for quorum: 2
    Quorum state             : QUORUM EXIST
    Alive Remote Nodes       : 2
-   VIP up on local node     : NO
+   Local node escalation    : NO
    Leader Node Name         : Linux_host2.localdomain_9992
    Leader Host Name         : localhost
 
index bdc65ed2e29dba495ad2b375c8f4594554bd5f35..4ae47ffa35feacb36f6f7d1a1f06d80bced77e02 100644 (file)
@@ -798,7 +798,7 @@ output_watchdog_info_result(PCPResultInfo * pcpResInfo, bool verbose)
                printf("Alive Remote Nodes       : %d\n", cluster->aliveNodeCount);
                printf("Nodes required for quorum: %d\n", cluster->nodesRequiredForQuorum);
                printf("Quorum state             : %s\n", quorumStatus);
-               printf("VIP up on local node     : %s\n", cluster->escalated ? "YES" : "NO");
+               printf("Local node escalation    : %s\n", cluster->escalated ? "YES" : "NO");
                printf("Leader Node Name         : %s\n", cluster->leaderNodeName);
                printf("Leader Host Name         : %s\n\n", cluster->leaderHostName);