Skip to content

Failover command is incorrectly triggered on standby backend failure in v4.3.1 #123

@jaewan-choi-0826

Description

@jaewan-choi-0826

Hello Pgpool Team,

I am experiencing an issue with Pgpool-II version 4.3.1.

Environment:

  • Pgpool-II Version: 4.3.1
  • PostgreSQL Nodes: 2 nodes
  • Mode: Streaming Replication
  • Configuration: load_balance_mode is on.
  • backend_weight is set to 1:0 (all traffic is directed to the primary).

Problem Description:
In this configuration, when I either stop the PostgreSQL service on the standby backend or disconnect its network, Pgpool-II incorrectly executes the failover_command.

At the same time, my application is unable to connect to the database, and I see log messages like "executing failover on backend".

My Question:
I don't understand why the failover_command is being executed when it is the standby backend that fails, not the primary. This process blocks my application from accessing the database.

Under what circumstances could this behavior occur?

Please let me know if you need any more information. Any help would be greatly appreciated.

Thank you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions