You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docsfollow_primary_command specifies a user command to run after failover on the primary node failover. Typically follow_primary_command is used to recover the standby from the new primary.
While failover_command works perfectly well and runs a script to promote the standby node to a new primary, the follow_primary_command is not triggered after the successful promotion, which is something I'd expect to happen next.
The pgpool.conf setup contains the following entries:
The pgpool-follow-primary.sh is expected to create a log entry for testing purposes, yet no entry is created in the system, so I assume the command is not invoked by the pgpool:
According to the docs
follow_primary_command
specifies a user command to run after failover on the primary node failover. Typicallyfollow_primary_command
is used to recover the standby from the new primary.While
failover_command
works perfectly well and runs a script to promote the standby node to a new primary, thefollow_primary_command
is not triggered after the successful promotion, which is something I'd expect to happen next.The
pgpool.conf
setup contains the following entries:The
pgpool-failover.sh
script does the following:The
pgpool-follow-primary.sh
is expected to create a log entry for testing purposes, yet no entry is created in the system, so I assume the command is not invoked by the pgpool:Is there anything I might be missing here or do not understand about
follow_primary_command
option?The text was updated successfully, but these errors were encountered: