Skip to content

Commit 1d93e9c

Browse files
author
Frannie-Ludmilla
committed
Add description to fields in RaftedStatusCheck procedure
1 parent d7baba2 commit 1d93e9c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

modules/ROOT/pages/procedures.adoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -636,19 +636,19 @@ It will still run with the `Admin` privilege, but that should be considered depr
636636
| *Syntax* 3+m| dbms.cluster.statusCheck(databases, timeoutMilliseconds) :: (database, serverId, serverName, address, replicationSuccessful, memberStatus, recognisedLeader, recognisedLeaderTerm, requester, error)
637637
| *Description* 3+a| Performs a rafted status check.
638638
.3+| *Input arguments* | *Name* | *Type* | *Description*
639-
| `databases` | `LIST<STRING>` | databases :: LIST<STRING>
640-
| `timeoutMilliseconds` | `INTEGER` | timeoutMilliseconds = null :: INTEGER
639+
| `databases` | `LIST<STRING>` | Databases for which the status check should run. Providing an empty list runs the status check for all clustered databases on that server, i.e. it does not run on singles or secondaries.
640+
| `timeoutMilliseconds` | `INTEGER` | How long to allow for replication, before returning it was unsuccessful. Default value is 1000 milliseconds.
641641
.11+| *Return arguments* | *Name* | *Type* | *Description*
642-
| `database` | `STRING` | database :: STRING
643-
| `serverId` | `STRING` | serverId :: STRING
644-
| `serverName` | `STRING` | serverName :: STRING
645-
| `address` | `STRING` | address :: STRING
646-
| `replicationSuccessful` | `BOOLEAN` | replicationSuccessful :: BOOLEAN
647-
| `memberStatus` | `STRING` | memberStatus :: STRING
648-
| `recognisedLeader` | `STRING` | recognisedLeader :: STRING
649-
| `recognisedLeaderTerm` | `INTEGER` | recognisedLeaderTerm :: INTEGER
650-
| `requester` | `BOOLEAN` | requester :: BOOLEAN
651-
| `error` | `STRING` | error :: STRING
642+
| `database` | `STRING` | The database for which a status check entry was replicated.
643+
| `serverId` | `STRING` | The UUID of the server, which did or did not participate in a successful replication of the status check entry.
644+
| `serverName` | `STRING` | The friendly name of the server, or its UUID if no name is set.
645+
| `address` | `STRING` | The address of the Bolt port for the server.
646+
| `replicationSuccessful` | `BOOLEAN` | Indicates if the server (on which the procedure is run) can replicate a transaction.
647+
| `memberStatus` | `STRING` | The status of each primary member.
648+
| `recognisedLeader` | `STRING` | The server id of the perceived leader of each primary member.
649+
| `recognisedLeaderTerm` | `INTEGER` | The term of the perceived leader of each primary member. If the members report different leaders, the one with the highest term should be trusted.
650+
| `requester` | `BOOLEAN` | Whether a server is the requester or not.
651+
| `error` | `STRING` | Contains the error message if one is present. An example of an error is that one or more of the requested databases do not exist on the requester.
652652
| *Mode* 3+| DBMS
653653
|===
654654

0 commit comments

Comments
 (0)