Skip to content

Commit ef7fed8

Browse files
Improve formatting of replica database creation example
Formatted the example for creating a replica database for better readability.
1 parent afa7353 commit ef7fed8

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

modules/ROOT/pages/clustering/replicating-databases-across-clusters.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ cluster/
7373

7474

7575
[[create-replica]]
76-
=== Creating a replica database
76+
== Creating a replica database
7777

7878
Use the following procedure to create a replica database.
7979

@@ -97,7 +97,14 @@ On *Cluster B*, run the following procedure to create a replica database `foo-re
9797
[[create-replica-db-example]]
9898
[source, cypher]
9999
----
100-
CALL internal.dbms.createReplicaDatabase("foo-replica", 3, 2, {remote: "foo", addresses:["server01.example.com:6000","server02.example.com:6000","server03.example.com:6000"]});
100+
CALL internal.dbms.createReplicaDatabase("foo-replica", 3, 2, {
101+
remote: "foo",
102+
addresses:[
103+
"server01.example.com:6000",
104+
"server02.example.com:6000",
105+
"server03.example.com:6000"
106+
]
107+
});
101108
----
102109

103110
All replica databases are *read-only*.

0 commit comments

Comments
 (0)