Repository navigation
Conversation
|
❗ By default, the pull request is configured to backport to all release branches.
|
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
/test limit=local |
|
@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/8615606446 |
|
I tested it locally and it works. I think we still need to address: #3796 (comment) |
Ignore my comment about pause, as recovery_target_action is a fixed option. |
gbartolini
left a comment
There was a problem hiding this comment.
Did not check the code. I tested the feature and works as expected.
73a75ed to
3f79cd0
Compare
|
/test limit=local |
|
@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/8643603695 |
|
/test limit=local |
|
@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/8647914337 |
|
/test limit=local |
|
@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/8687622195 |
|
|
||
| // reconcileInstance sets PostgreSQL instance parameters to current values | ||
| func (r *InstanceReconciler) reconcileInstance(cluster *apiv1.Cluster) { | ||
| detectRequiresDesignatedPrimaryTransition := func() bool { |
There was a problem hiding this comment.
This function is encapsulated here because this is the only place where the calculation should happen, and calling it elsewhere could lead to non-deterministic results and potential disasters
|
E2e tests are green |
Closes #3796 Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
… changes Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
This patch allows hibernated clusters to be rehydrated as replica clusters. This is a step toward implementing a data center switchover workflow. Before starting up PostgreSQL, the old primary instance is immediately demoted. `pg_rewind` is not executed. Signed-off-by: Leonardo Cecchi <[email protected]>
Enable demotion of a primary cluster to a replica cluster by setting
.spec.replica.enabledtotrue. This enhancement facilitates manual orchestration of a data center switchover without the need to re-clone the former primary.Closes #3796