[pgpool-general: 8323] Re: watchdog leader/standby

Bo Peng pengbo at sraoss.co.jp
Mon Jul 11 12:53:54 JST 2022


Hello,

> I've learned that I can control the watchdog "LEADER" node by using the wd_priority parameter and a restart of pgpool.
> My question is, should the watchdog leader switch nodes when postgres is shutdown on a node that was primary and LEADER both?

No.
If only the PostgreSQL service is stopped, not the OS system, the watchdog LEADER will not switch.

On Fri, 8 Jul 2022 18:19:15 +0000
Todd Stein <todd.stein at microfocus.com> wrote:

> I've learned that I can control the watchdog "LEADER" node by using the wd_priority parameter and a restart of pgpool.
> My question is, should the watchdog leader switch nodes when postgres is shutdown on a node that was primary and LEADER both?
> 
> I think I'm always seeing that the watchdog leader stays put until I stop or restart the pgpool on that node.
> 
> 
> Regards,
> 
> Todd Stein
> 
> 
> 


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan
https://www.sraoss.co.jp/


More information about the pgpool-general mailing list