Skip to content

Commit

Permalink
Change leader to primaries in clustering remarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-ottolenghi committed Jan 7, 2025
1 parent 22da302 commit 70ee5b4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go-manual/modules/ROOT/pages/query-simple.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ neo4j.ExecuteQuery(ctx, driver,

[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones will be directed to the leader.
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
====

Expand Down
2 changes: 1 addition & 1 deletion go-manual/modules/ROOT/pages/transactions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ session := driver.NewSession(ctx, neo4j.SessionConfig{
// .Routing ≠ Access control
[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones will be directed to the leader.
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
Similar remarks hold for the `.ExecuteRead()` and `.ExecuteWrite()` methods.
Expand Down
2 changes: 1 addition & 1 deletion java-manual/modules/ROOT/pages/query-simple.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ var result = driver.executableQuery("MATCH (p:Person) RETURN p.name")

[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones will be directed to the leader.
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
====

Expand Down
2 changes: 1 addition & 1 deletion java-manual/modules/ROOT/pages/transactions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ var session = driver.session(SessionConfig.builder()
[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.*
The difference between the two modes is that _read_ transactions are routed to any node of a cluster, whereas _write_ ones are directed to the leader.
The difference between the two modes is that _read_ transactions are routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
Similar remarks hold for the `.executeRead()` and `.executeWrite()` methods.
Expand Down
2 changes: 1 addition & 1 deletion javascript-manual/modules/ROOT/pages/query-simple.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ await driver.executeQuery(

[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones will be directed to the leader.
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
====

Expand Down
2 changes: 1 addition & 1 deletion javascript-manual/modules/ROOT/pages/transactions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const session = driver.session({
[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.*
The difference between the two modes is that _read_ transactions are routed to any node of a cluster, whereas _write_ ones are directed to the leader.
The difference between the two modes is that _read_ transactions are routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
Similar remarks hold for the `.executeRead()` and `.executeWrite()` methods.
Expand Down
2 changes: 1 addition & 1 deletion python-manual/modules/ROOT/pages/query-simple.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ driver.execute_query(

[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones will be directed to the leader.
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.* The difference between the two modes is that _read_ transactions will be routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
====

Expand Down
2 changes: 1 addition & 1 deletion python-manual/modules/ROOT/pages/transactions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ with driver.session(
[NOTE]
====
Although executing a _write_ query in read mode likely results in a runtime error, *you should not rely on this for access control.*
The difference between the two modes is that _read_ transactions are routed to any node of a cluster, whereas _write_ ones are directed to the leader.
The difference between the two modes is that _read_ transactions are routed to any node of a cluster, whereas _write_ ones are directed to primaries.
In other words, there is no guarantee that a write query submitted in read mode will be rejected.
Similar remarks hold for the `.executeRead()` and `.executeWrite()` methods.
Expand Down

0 comments on commit 70ee5b4

Please sign in to comment.