Cluster

Operations for a node inside of a cluster

Fully synchronize the worldmatch database of this node.

post

Required Roles: ApiImport Applies missing delta updates to the worldmatch database if this node is on the same databaseVersion as the director. Otherwise it reloads the worldmatch database from postgres.

Authorizations
AuthorizationstringRequired
Responses
200

OK

No content

post
/rest/v5/cluster/database/sync/full

No content

Reset the config version counters for all(global, channel specific and properties) configs of this node(set it to 0).

post

Required Roles: ApiConfig

Authorizations
AuthorizationstringRequired
Responses
200

OK

application/json
Responsestring
post
/rest/v5/cluster/reset/config/version/counters

Prune delta updates.

post

Required Roles: ApiImport Deletes the delta updates table and increments the databaseVersion. After prune every worker has to reload the worldmatch database once to get in sync with the director. In contrast to a full re-import this does not discard any delta updates which are already applied to the intermediate database.

Authorizations
AuthorizationstringRequired
Path parameters
channelstringRequired

The channel

Responses
200

OK

application/json
Responsestring
post
/rest/v5/cluster/{channel}/database/prune

Show the current state of the worldmatch database.

get

Required Roles: ApiImport

Authorizations
AuthorizationstringRequired
Path parameters
channelstringRequired

The channel

Responses
200

OK

application/json
get
/rest/v5/cluster/{channel}/database/state

Synchronize the worldmatch database of this node.

post

Required Roles: ApiImport Applies missing delta updates to the worldmatch database if this node is on the same databaseVersion as the director. Otherwise a reload of the worldmatch database is necessary to synchronize this node with the director.

Authorizations
AuthorizationstringRequired
Path parameters
channelstringRequired

The channel

Query parameters
verbosebooleanOptionalDefault: false
Responses
200

OK

application/json
post
/rest/v5/cluster/{channel}/database/sync

Show the import state of this node.

get

Required Roles: ApiImport

Authorizations
AuthorizationstringRequired
Path parameters
channelstringRequired

The channel

Responses
200

OK

application/json
get
/rest/v5/cluster/{channel}/import/state

Get the cluster state. Includes database & import & cache state.

get

Required Roles: ApiImport

Authorizations
AuthorizationstringRequired
Path parameters
channelstringRequired

The channel

Responses
200

OK

application/json
get
/rest/v5/cluster/{channel}/state

Last updated

Was this helpful?