Skip to content

What is the execution order of ‘follow_master_command' and 'failover_command'? #2

Description

@hyz0906

I set the ‘follow_master_command' and 'failover_command' in my 'pgpool.conf'.
In the failover_command, it touches a trigger file on the standby node to promote the node.
And in the follow_master_command, I recover the slave from the new master by call the pcp_recovery_node command.
But I found that when the recovery command is triggered,it reports:
ERROR: failed to process PCP request at the moment DETAIL: failover is in progress FATAL: authentication failed for new PCP connection DETAIL: connection not authorized
Pgpool version:3.4.4 or 3.5.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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