Setting recovery type
HTTP method and URI
Sets the recovery type to be performed for a node. Recovery options are delta node recovery or full recovery.
POST /controller/setRecoveryType
The progress of setting recovery type can be tracked just like rebalance. After the data is persisted to disk and replicas are up-to-date, the node is put into the failed over state.
Syntax
POST /controller/setRecoveryType
otpNode=[node@hostname]
recoveryType=[full|delta]
Response codes
200 // Request succeeded
400 // recoveryType and/or otpNode could not be understood by the server
404 // The cluster is running in a pre-3.0 compatibility mode and thus
cannot satisfy the request