Skip to content

Commit ca53320

Browse files
kylebernhardykriszyp
authored andcommitted
Change sharding attribute to correct name shard
1 parent 2bc25d2 commit ca53320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/developers/operations-api/clustering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _Operation is restricted to super\_user roles only_
1717
* authorization _(optional)_ - an object or a string which contains the authorization information for the node being added. If it is an object, it should contain `username` and `password` fields. If it is a string, it should use HTTP `Authorization` style credentials
1818
* retain_authorization _(optional)_ - a boolean which determines if the authorization credentials should be retained/stored and used everytime a connection is made to this node. If `true`, the authorization will be stored on the node record. Generally this should not be used, as mTLS/certificate based authorization is much more secure and safe, and avoids the need for storing credentials. Defaults to `false`.
1919
* revoked_certificates _(optional)_ - an array of revoked certificates serial numbers. If a certificate is revoked, it will not be accepted for any connections.
20-
* sharding _(optional)_ - a number which can be used to indicate which shard this node belongs to. This is only needed if you are using sharding.
20+
* shard _(optional)_ - a number which can be used to indicate which shard this node belongs to. This is only needed if you are using sharding.
2121
* subscriptions _(optional)_ - The relationship created between nodes. If not provided a fully replicated cluster will be setup. Must be an object array and include `database`, `table`, `subscribe` and `publish`:
2222
* database - the database to replicate
2323
* table - the table to replicate
@@ -59,7 +59,7 @@ _Note: will attempt to add the node if it does not exist_
5959
* operation _(required)_ - must always be `update_node`
6060
* hostname _(required)_ - the `hostname` of the remote node you are updating
6161
* revoked_certificates _(optional)_ - an array of revoked certificates serial numbers. If a certificate is revoked, it will not be accepted for any connections.
62-
* sharding _(optional)_ - a number which can be used to indicate which shard this node belongs to. This is only needed if you are using sharding.
62+
* shard _(optional)_ - a number which can be used to indicate which shard this node belongs to. This is only needed if you are using sharding.
6363
* subscriptions _(required)_ - The relationship created between nodes. Must be an object array and include `database`, `table`, `subscribe` and `publish`:
6464
* database - the database to replicate from
6565
* table - the table to replicate from

0 commit comments

Comments
 (0)