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
The Cypher Transactional API provides a limited level of support for query routing.
7
+
8
+
The level of support depends on whether link:https://neo4j.com/docs/operations-manual/current/clustering/internals/#clustering-routing[Server-side routing] has been enabled:
9
+
10
+
[options="header", cols="20m,80a"]
11
+
|===
12
+
| Server-side routing
13
+
| Support
14
+
15
+
|disabled
16
+
|Clusters support read-only queries.
17
+
18
+
|enabled
19
+
|Clusters support routing for queries that involve a xref::/actions/begin-and-commit-a-transaction-in-one-request.adoc[single request] (i.e. via the `tx/commit` endpoint).
20
+
This is because the cluster does not currently support transaction identifiers across the cluster.
21
+
22
+
In this context, all queries are considered `WRITE` queries, even if they contain no cypher with write operations.
23
+
Since the HTTP API did not previously support marking queries as `READ` or `WRITE`, the server assumes all queries are `WRITE` queries to support all cases.
24
+
The effect of this is that all queries are ultimately executed on the leader.
0 commit comments