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
[Bug]: Replica cluster may fail over to the wrong instance #11495
Due to a bug in the comparison function used for this sort, the designated primary
instance was not always guaranteed to end up first in the list.
Because the operator relies on the first item of the sorted status list as the
current/promotion-candidate primary, an incorrect ordering could lead the operator
reporting or acting on the wrong instance as the current primary of a replica cluster.
Note that all instances in a replica cluster are standbys replicating from an external
source and none of them accept writes, so this did not put data at risk of being
lost or diverged, the impact was limited to incorrect primary/failover bookkeeping
within the replica cluster.
Activity
fix: correctly sort the designated primary in PostgresqlStatusList (#…
fix: correctly sort the designated primary in PostgresqlStatusList (#…
fix: correctly sort the designated primary in PostgresqlStatusList (#…