File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ health checks and the retry policy.
1818See the :ref: `configuration ` part for more information about how to setup
1919the different delays and timeouts that are involved in the decision making.
2020
21- See also :ref: `pg_autoctl watch ` to have a dashboard that helps
21+ See also :ref: `pg_autoctl_watch ` to have a dashboard that helps
2222understanding the system and what's going on in the moment.
2323
2424The secondary is blocked in the CATCHING_UP state, what should I do?
Original file line number Diff line number Diff line change @@ -111,10 +111,10 @@ The ``pg_autoctl show state`` output includes the following columns:
111111 to connect to this node, and ``? `` when the monitor didn't connect to
112112 the node yet.
113113
114- - Current State
114+ - Reported State
115115
116- The current FSM state as reported to the monitor by the pg_autoctl
117- process running on the Postgres node.
116+ The latest reported FSM state, as reported to the monitor by the
117+ pg_autoctl process running on the Postgres node.
118118
119119 - Assigned State
120120
@@ -130,14 +130,14 @@ Examples
130130::
131131
132132 $ pg_autoctl show state
133- Name | Node | Host:Port | TLI: LSN | Connection | Current State | Assigned State
133+ Name | Node | Host:Port | TLI: LSN | Connection | Reported State | Assigned State
134134 ------+-------+----------------+----------------+--------------+---------------------+--------------------
135135 node1 | 1 | localhost:5501 | 1: 0/4000678 | read-write | primary | primary
136136 node2 | 2 | localhost:5502 | 1: 0/4000678 | read-only | secondary | secondary
137137 node3 | 3 | localhost:5503 | 1: 0/4000678 | read-only | secondary | secondary
138138
139139 $ pg_autoctl show state --local
140- Name | Node | Host:Port | TLI: LSN | Connection | Current State | Assigned State
140+ Name | Node | Host:Port | TLI: LSN | Connection | Reported State | Assigned State
141141 ------+-------+----------------+----------------+--------------+---------------------+--------------------
142142 node1 | 1 | localhost:5501 | 1: 0/4000678 | read-write ? | primary | primary
143143
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ nodestatePrintHeader(NodeAddressHeaders *headers)
209209 headers -> maxHostSize , "Host:Port" ,
210210 headers -> maxLSNSize , "TLI: LSN" ,
211211 headers -> maxHealthSize , "Connection" ,
212- headers -> maxStateSize , "Current State" ,
212+ headers -> maxStateSize , "Reported State" ,
213213 headers -> maxStateSize , "Assigned State" );
214214
215215 fformat (stdout , "%*s-+-%*s-+-%*s-+-%*s-+-%*s-+-%*s-+-%*s\n" ,
You can’t perform that action at this time.
0 commit comments