Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cluster-manual-failover-timeout desc in CLUSTER FAILOVER command page #238

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions commands/cluster-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ This way clients are moved away from the old primary to the new primary
atomically and only when the replica that is turning into the new primary
has processed all of the replication stream from the old primary.

There is a built-in timeout for the primary to resume processing queries if the
replica does not catch quickly enough or is unable to secure the votes to take over.
The default failover timeout is 5000ms. It is possible to configure the timeout
via the `cluster-manual-failover-timeout` configuration parameter (added in Valkey 8.1)
and decide how long the primary will pause in the worst case scenario.

## FORCE option: manual failover when the primary is down

The command behavior can be modified by two options: **FORCE** and **TAKEOVER**.
Expand Down