Auto-failover is reset by means of the
POST /settings/autoFailover/resetCountHTTP method and URI.
HTTP method and URI
Resets the number of nodes that Couchbase Server has automatically failed over. A request can be sent to reset the auto-failover number to 0. This is a global setting, which applies to all nodes in the cluster. Authentication is required to change this setting. No parameters are required.
curl -X POST -i -u [admin]:[password] \ http://localhost:8091/settings/autoFailover/resetCount
Curl request example:
curl -X POST -i -u Administrator:password \ http://10.5.2.54:8091/settings/autoFailover/resetCount
Raw HTTP request example:
POST /settings/autoFailover/resetCount HTTP/1.1 Host: localhost:8091 Content-Type: application/x-www-form-urlencoded Authorization: Basic YWRtaW46YWRtaW4=