Skip to content

No promotion to new primary of newer instances #4417

@ExtremTrucker

Description

@ExtremTrucker

We are currently attempting to modify the PVC in a Postgres cluster (3 replicas) using the "Resize PVCs With StorageClass That Does Not Allow Expansion" method.

We have enabled synchronous replication and failsafe mode for the cluster.

  patroni:
    dynamicConfiguration:
      failsafe_mode: true
      synchronous_mode: false
      synchronous_mode_strict: false
      postgresql:
        parameters:
          synchronous_commit: 'on'

Once the second instances have been fully booted up, the first instance is removed from the cluster and no new master is designated.

If the Patroni section is not active, everything works as expected, but unfortunately that is not a solution, as data integrity is compromised.

Are we overlooking a necessary step in our case? Or is it unfortunately necessary to disable the Patroni option?

A switch from the primary replica to the second instance was unsuccessful because the switchover did not complete.

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