Skip to content

Commit 8a70119

Browse files
author
Jeff McCormick
committed
update docs
1 parent 7968035 commit 8a70119

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

hugo/content/how-it-works/_index.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,18 @@ no longer be a requirement for the push gateway to be deployed.
393393

394394
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.
395395

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+
396408
=== Auto Failover
397409

398410
Starting with release 3.1, there is an *auto* failover mechanism
@@ -424,6 +436,8 @@ The logic of auto failover works like this:
424436
* if the timer expires and the state is still *Not Ready* then the manual
425437
failover logic is executed for this cluster which causes a promotion of
426438
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
427441

428442
The readiness probe settings are defined in the following template:
429443
....

0 commit comments

Comments
 (0)