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
{{ message }}
Repository navigation
Commit d82e589
Browse filesBrowse the repository at this point in the historyBrowse files
In replica clusters, decreasing hot-standby sensitive parameters (e.g.,
max_connections) never triggered a restart because:
1. pg_controldata values come from the external source primary via WAL,
not from the local cluster's designated primary, making the
pg_controldata comparison permanently unsatisfiable for replicas.
2. The designated primary was not recognized as "primary-like" for
restart purposes since IsPrimary is always false in replica clusters.
Skip the pg_controldata check for replica clusters and treat the
designated primary as primary-like for in-place restart triggering.
Closes#9855
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Co-authored-by: Gabriele Bartolini <[email protected]>
(cherry picked from commit dfd8518)
(cherry picked from commit 014a478)
0 commit comments