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
Copy file name to clipboardExpand all lines: hugo/content/how-it-works/_index.adoc
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,6 +393,18 @@ no longer be a requirement for the push gateway to be deployed.
393
393
394
394
See link:https://github.com/CrunchyData/crunchy-containers/blob/master/docs/examples.adoc#metrics-collection[the crunchy-containers Metrics example] for more details on setting up the *crunchy-metrics* solution.
395
395
396
+
=== Manual Failover
397
+
398
+
With manual failover some key features include:
399
+
* when you perform a failover, a new replica is created to replace the
400
+
replica that was promoted to even out the cluster to the original
401
+
number of replicas
402
+
* when you perform a failover, the promoted replica is removed from the pgreplica CRD to represent the current *truth*
403
+
404
+
The *pgo failover --query* command will return a list of replica
405
+
targets which you can select from. That list include the *Ready* status
406
+
of the database as well as the Kube node name it is running on.
407
+
396
408
=== Auto Failover
397
409
398
410
Starting with release 3.1, there is an *auto* failover mechanism
@@ -424,6 +436,8 @@ The logic of auto failover works like this:
424
436
* if the timer expires and the state is still *Not Ready* then the manual
425
437
failover logic is executed for this cluster which causes a promotion of
426
438
a replica to primary, and also creates a replacement replica
439
+
* only replica targets with a status of *Ready* will be used to select
440
+
the target to promote
427
441
428
442
The readiness probe settings are defined in the following template:
0 commit comments