check for WAL receiver if node is hot standby#23
check for WAL receiver if node is hot standby#23smbambling wants to merge 1 commit intot-matsuo:pgsql-rep-masterfrom
Conversation
Only check for a WAL receiver process if the node is not a Master and is a Hot Standby.
|
Hi Additionally it seems that wal_receiver can run without connection of replication. |
|
That makes sense, In my small case test with 3 local nodes setup with a Master/Slave resource. The master never seemed to run the wal_receiver process and the logs continually had warnings in them. But I can see where this check is valid in different scenarios |
|
The RA shows its status as xxxx-status. If it shows "HS:alone", you can know that the node can't connect to Master. |
Only check for a WAL receiver process if the node is not a Master and
is a Hot Standby.