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
Add HA docs, common issues and split brain explanation (#1200)
* Add HA docs, common issues and split brain explanation
* Document finalizers and no-changing external IP
* Don't use latest tag on deployment
* Rewrite for clarity and add HA erros page
---------
Co-authored-by: katarinasupe <[email protected]>
Co-authored-by: Katarina Supe <[email protected]>
Copy file name to clipboardExpand all lines: pages/clustering/high-availability.mdx
+4-2
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,9 @@ since Raft, as a consensus algorithm, works by forming a majority in the decisio
55
55
## Bolt+routing
56
56
57
57
Directly connecting to the MAIN instance isn't preferred in the HA cluster since the MAIN instance changes due to various failures. Because of that, users
58
-
can use bolt+routing so that write queries can always be sent to the correct data instance. This protocol works so that the client
58
+
can use bolt+routing so that write queries can always be sent to the correct data instance. This will prevent a split-brain issue since clients, when writing,
59
+
won't be routed to the old main but rather to the new main instance on which failover got performed.
60
+
This protocol works in a way that the client
59
61
first sends a ROUTE bolt message to any coordinator instance. The coordinator replies to the message by returning the routing table with three entries specifying
60
62
from which instance can be data read, to which instance data can be written and which instances can behave as routers. In the Memgraph HA cluster, the MAIN
61
63
data instance is the only writeable instance, REPLICAs are readable instances, and COORDINATORs behave as routers. Bolt+routing is the client-side routing protocol
@@ -872,4 +874,4 @@ that and automatically promote the first alive REPLICA to become the new MAIN. T
All instances which are part of Memgraph HA cluster use the internal Cluster IP network for communicating between themselves. By default, management port is on all instances opened on
0 commit comments