Skip to content

Document failovering to sync replicas only #1274

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

Open
wants to merge 1 commit into
base: memgraph-3-3
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
24 changes: 24 additions & 0 deletions pages/clustering/high-availability.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,30 @@ server that coordinator instances use for communication. Flag `--instance-health
check the status of the replication instance to update its status. Flag `--instance-down-timeout-sec` gives the user the ability to control how much time should
pass before the coordinator starts considering the instance to be down.














Users can also choose whether failovering to async replica is allowed by using the following query:

```
SET COORDINATOR SETTING 'sync_failover_only' TO 'true'/'false' ;
```

By the default the value is true which means that only sync replicas are candidates in the election. When the value is set to false, async replica is also considered but
there is then an additional risk of experiencing a data loss. However, failovering to async replica may be necessary when other sync replicas are down and you want to
manually perform a failover.


<Callout type="info">

Consider the instance to be down only if several consecutive pings fail because a single ping can fail because of a large number of different reasons in distributed systems.
Expand Down