View Issue Details

IDProjectCategoryView StatusLast Update
0000691Pgpool-IIBugpublic2021-02-15 10:40
Reportert-ishii Assigned ToMuhammad Usama  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version4.2.2 
Summary0000691: Split brain problem with wathdog
DescriptionIf communication between 2 watchdog nodes of 3 watchdog nodes are disconnected, split brain problem occurs.
Steps To Reproduce$ watchdog_setup -wn 3 (pgpool0, pgpool1, pgpool2)
# set wrong wd_port1 and hearbeat_port_port1 to pgpool0/pgpool.conf
# set wrong wd_port0 and hearbeat_port_port0 to pgpool1/pgpool.conf
# these will cut off the communication between pgpool0 and pgpool1
start whole cluster
$ ./startall

Sometimes (not every time) I see two leader nodes in the output of pcp_watchdog_info:

t-ishii$ pcp_watchdog_info -w -p 50009 -v
Watchdog Cluster Information
Total Nodes : 3
Remote Nodes : 2
Quorum state : QUORUM EXIST
Alive Remote Nodes : 1
VIP up on local node : NO
Leader Node Name : localhost:50000 Linux tishii-CFSV7-1
Leader Host Name : localhost
Watchdog Node Information
Node Name : localhost:50008 Linux tishii-CFSV7-1
Host Name : localhost
Delegate IP : Not_Set
Pgpool port : 50008
Watchdog port : 50010
Node priority : 1
Status : 7
Status Name : STANDBY
Node Name : localhost:50000 Linux tishii-CFSV7-1
Host Name : localhost
Delegate IP : Not_Set
Pgpool port : 50000
Watchdog port : 50002
Node priority : 3
Status : 4
Status Name : LEADER
Node Name : localhost:50004 Linux tishii-CFSV7-1
Host Name : localhost
Delegate IP : Not_Set
Pgpool port : 50004
Watchdog port : 50006
Node priority : 2
Status : 4
Status Name : LEADER
Additional Informationpgpool.conf and Pgpool-II logs are attached.
TagsNo tags attached.

Activities

t-ishii

2021-02-15 10:39

developer  

conf_and_log.tar.gz (39,615 bytes)

Issue History

Date Modified Username Field Change
2021-02-15 10:39 t-ishii New Issue
2021-02-15 10:39 t-ishii File Added: conf_and_log.tar.gz
2021-02-15 10:40 t-ishii Assigned To => Muhammad Usama
2021-02-15 10:40 t-ishii Status new => assigned
2021-02-15 10:40 t-ishii Product Version => 4.2.2