Skip to content

Commit cd1dcba

Browse files
committed
Fix types
1 parent 177776c commit cd1dcba

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

modules/ROOT/pages/clustering/monitoring/status-check.adoc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ The procedure returns a row for all primary members of all the requested databas
5050
| serverId | String | The UUID of the server, which did or did not participate in a successful replication of the `status check entry`.
5151
| serverName | String | The friendly name of the server, or its UUID if no name is set.
5252
| address | String | The address of the Bolt port for the server.
53-
| replicationSuccessful | String | Indicates if the server (on which the procedure is run) can replicate a transaction.
53+
| replicationSuccessful | Boolean | Indicates if the server (on which the procedure is run) can replicate a transaction.
5454
| memberStatus | String | The status of each primary member.
5555
| recognisedLeader | String | The server id of the perceived leader of each primary member.
56-
| recognisedLeaderTerm | String | The term of the perceived leader of each primary member.
56+
| recognisedLeaderTerm | Integer | The term of the perceived leader of each primary member.
5757
If the members report different leaders, the one with the highest term should be trusted.
58-
| requester | String | Whether a server is the requester or not.
58+
| requester | Boolean | Whether a server is the requester or not.
5959
| error | String | Contains the error message if one is present.
6060
An example of an error is that one or more of the requested databases do not exist on the requester.
6161
|===
@@ -91,4 +91,18 @@ Lastly, `UNAVAILABLE` members are either too far behind or unreachable.
9191
They are unhealthy and cannot add to the fault-tolerance.
9292
====
9393

94+
.Running the status check
95+
====
96+
When running the cluster status check against a server, expect similar output to the following:
9497
98+
[source,queryresults,role=noplay]
99+
----
100+
+------------------------------------------------------------------------------------------------------+
101+
| name | address | state | health | hosting |
102+
+------------------------------------------------------------------------------------------------------+
103+
|"f4ae1895-26f1-4b93-bd31-6f482be80d3d"|"localhost:7681"|"Enabled"|"Available"|["system","foo","neo4j"]|
104+
|"ffa55a5b-2aca-45fc-be09-2a894067025c"|"localhost:7682"|"Enabled"|"Available"|["system","foo","neo4j"]|
105+
|"server3" |"localhost:7683"|"Enabled"|"Available"|["system","neo4j"] |
106+
+------------------------------------------------------------------------------------------------------+
107+
----
108+
====

0 commit comments

Comments
 (0)