I want to autoscale query nodes for my cluster.
The cluster is 2 nodes at maximum and one node at minimum.
If the target node is up, then it will be added and removed from the cluster according to a schedule.
But there are cases when my provider may eliminate the query machine when it’s a member of a cluster.
In the case I want to perform a hard failover.
But, when I send a request to
allowUnsafe=true, I get the response
Cannot safely perform a failover at the moment. Yet this is why I specified
I see at Hard Failover | Couchbase Docs that “In the event of a cluster’s Master Services not being able to contact a majority of the cluster’s nodes (sometimes referred to as a quorum failure ), an attempted failover will not be executed.”
Is this what I’m experiencing?
What can I do to perform an unsafe failover for a query node in these conditions:
- One permanent node.
- One unresponsive query node.