Skip to content

Commit e4d9e7a

Browse files
resolved coonflicts (#777)
1 parent 0197a0f commit e4d9e7a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

modules/ROOT/pages/clustering/databases.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ In this example, the `server01` member is used.
100100
neo4j@neo4j$ ./bin/neo4j-admin database restore --from-path=/path/to/foo-backup-dir foo
101101
----
102102
. Find the server ID of `server01` by logging in to Cypher Shell and running `SHOW SERVERS`.
103+
Cross-reference the address to find the server ID.
103104
Use any database to connect.
104105
+
105106
[source, cypher, role=noplay]
@@ -117,6 +118,8 @@ SHOW SERVERS;
117118
| "8512c9b9-d9e8-48e6-b037-b15b0004ca18" | "localhost:7687" | "Enabled" | "Available" | ["system", "neo4j"] |
118119
+------------------------------------------------------------------------------------------------------------+
119120
----
121+
In this case, the address for `server01` is `localhost:7687` and thus, the server ID is `8512c9b9-d9e8-48e6-b037-b15b0004ca18`.
122+
+
120123
. On one of the servers, use the `system` database and create the database `foo` using the server ID of `server01`.
121124
+
122125
[source, cypher, role=noplay]
@@ -149,9 +152,9 @@ SHOW DATABASE foo;
149152

150153
This method seeds all servers with an identical seed from an external source, specified by the URI.
151154
The seed can be either a backup or a dump from an existing database.
155+
The sources of seeds are called _seed providers_.
152156

153-
The mechanism is pluggable, allowing new sources of seeds to be supported.
154-
These are called _seed providers_.
157+
The mechanism is pluggable, allowing new sources of seeds to be supported (see link:https://www.neo4j.com/docs/java-reference/current/extending-neo4j/project-setup/#extending-neo4j-plugin-seed-provider[Java Reference -> Implement custom seed providers] for more information).
155158
The product has built-in support for seed from a mounted file system (file), FTP server, HTTP/HTTPS server and Amazon S3.
156159

157160
[NOTE]

modules/ROOT/pages/clustering/introduction.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The remainder of this section assumes a database has multiple primaries.
4545
Database primaries achieve high availability by replicating all transactions using the Raft protocol.
4646
Raft ensures that the data is safely durable by waiting for a majority of primaries in a database (N/2+1) to acknowledge a transaction, before acknowledging its commit to the end user application.
4747
In practice, only one of the multiple primaries execute write transactions from clients.
48-
This writer is elected automatically from amongst a databases primaries and may change over time.
48+
This writer is elected automatically from amongst a database's primaries and may change over time.
4949
The writer primary synchronously replicates writes to the other primaries.
5050
The database secondaries replicates the writes asynchronously from more up-to-date members of the cluster.
5151

@@ -101,7 +101,7 @@ Consequently, client applications are guaranteed to read their own writes, regar
101101
This simplifies interaction with large clusters, allowing clients to treat them as a single (logical) server.
102102
====
103103

104-
Causal consistency makes it possible to write to databases hosted on servers in primary mode (where data is safe) and read those writes from databases hosted on servers in secondary mode (where graph operations are scaled out).
104+
Causal consistency makes it possible to write to databases hosted on servers in primary mode and read those writes from databases hosted on servers in secondary mode (where graph operations are scaled out).
105105
For example, causal consistency guarantees that the write which created a user account is present when that same user subsequently attempts to log in.
106106

107107
//image::causal-clustering-drivers.svg[title="Cluster setup with causal consistency via Neo4j drivers", role="middle"]

0 commit comments

Comments
 (0)