Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
8 REST API for Administration
Chapter Sections
Chapters

8.11. Resetting Auto-Failovers

This resets the number of nodes that Couchbase Server has automatically failed-over. You can send to request to set the auto-failover number to 0. This is a global setting for all clusters. You need to be authenticated to change this value. No parameters are required:

shell> curl -i -u Administrator:letmein \
    http://localhost:8091/settings/autoFailover/resetCount
HTTP Request
POST /settings/autoFailover/resetCount HTTP/1.1
Host: node.in.your.cluster:8091
Content-Type: application/x-www-form-urlencoded
Authorization: Basic YWRtaW46YWRtaW4=
HTTP Response
200 OK

Possible errors include:

This endpoint isn't available yet.
401 Unauthorized