Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show pool_nodes is not showing updated data #84

Open
dibyanduroy opened this issue Jan 9, 2025 · 1 comment
Open

show pool_nodes is not showing updated data #84

dibyanduroy opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@dibyanduroy
Copy link

dibyanduroy commented Jan 9, 2025

pgpool2 is running on 3 nodes with VIP. we are at latest pgpool2 4.5.5.1. postgresql is on 14.15.
Also we are running patroni for replicating data to another data center's postgres nodes.

now shutdown the pgpool services in any of the standby nodes.

pcp_watchdog_info shows that 3rd node is down
image

run show pool_nodes command connecting via psql with vip.
its showing all nodes are up
image

we trim the screenshot as we don't want to expose the IP and hostname.

Let me know if you need additional data.

@tatsuo-ishii
Copy link
Collaborator

The word "standby" in pcp_watchdog_info means pgpool's standby, not PostgreSQL's streaming replication standby. On the other hand, "standby" in show pool_nodes means PostgreSQL's streaming replication standby. So unless the PostgreSQL's standby is running on the same host as the shutdowned pgpool, they look normal.

@tatsuo-ishii tatsuo-ishii self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants