1
0
Fork 0

Add two other roles we know

This commit is contained in:
Wilfried Goesgens 2016-10-14 14:15:49 +02:00
parent f22f181e2f
commit 73f87e8e01
1 changed files with 2 additions and 0 deletions

View File

@ -9,9 +9,11 @@
Returns the role of a server in a cluster.
The role is returned in the *role* attribute of the result.
Possible return values for *role* are:
- *SINGLE*: the server is a standalone server without clustering
- *COORDINATOR*: the server is a coordinator in a cluster
- *PRIMARY*: the server is a primary database server in a cluster
- *SECONDARY*: the server is a secondary database server in a cluster
- *AGENT*: the server is an agency node in a cluster
- *UNDEFINED*: in a cluster, *UNDEFINED* is returned if the server role cannot be
determined. On a single server, *UNDEFINED* is the only possible return
value.