View Issue Details

IDProjectCategoryView StatusLast Update
0000734Pgpool-IIBugpublic2021-10-27 09:20
Reporterthanos.cyrax Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
PlatformPgPool II implementation in K8sOSRHELOS Version7.8
Product Version4.2.5 
Summary0000734: PgPool is not working in manual repmgr switch-over
DescriptionWe have implemented PgPool in Kubernetes which connects to three external Postgres'es in Active Passive using repmgr.
The implementation was made from an initial Bitnami Helm Chart which was stripped down to fit our needs, so it cannot be considered bitnami at this point in time but custom.

Pgpool is isolated and Postgres A/P Cluster is remote.
When we test failover by bringing down the master or the slaves Postgres'es everything works as expected.
When we try to do a manual switch-over, PgPool is not recognizing the new Postgresql servers' states.
It continues looping without acquiring the status for the switched-over master database.
Steps To Reproduce- Create a cluster with 3 to 4 PostgreSQL databases, 1 master, 2 slaves, 1 to act as Witness. The witness might not be needed but I am sharing it with you either way.
- Configure PgPool to see the 3 databases (1 master, 2 slaves).
- In a slave Postgres execute: repmgr standby switchover —siblings-follow
- PgPool is not recognizing the new Postgres cluster states. It continues looping indefinitely with errors. Unfortunately I do not have the logs right now, will try to reproduce and share it with you.
- At this point if we restart PgPool, the cluster state is recognized and all database operations run as expected.
TagsNo tags attached.

Activities

thanos.cyrax

2021-10-19 17:48

reporter  

t-ishii

2021-10-19 20:01

developer   ~0003944

Pgpool-II and repmgr are different products. They do not cooperate with each other. If you want to do a manual switch-over, please consider to use pcp_detach_node and pcp_attach_node.

thanos.cyrax

2021-10-19 20:41

reporter   ~0003945

Thank you for your prompt answer and suggestion.
This ticket can be closed now, not sure if I have permissions to do it.

administrator

2021-10-27 09:20

administrator   ~0003947

Close issue.

Issue History

Date Modified Username Field Change
2021-10-19 17:48 thanos.cyrax New Issue
2021-10-19 17:48 thanos.cyrax File Added: PgPool Repmgr Configuration_blurred.PNG
2021-10-19 20:01 t-ishii Note Added: 0003944
2021-10-19 20:41 thanos.cyrax Note Added: 0003945
2021-10-27 09:20 administrator Status new => closed
2021-10-27 09:20 administrator Note Added: 0003947