ClusterAdmin

Cluster Force Node Upgrade

Request that the cluster upgrade the given node from "learner" to "voter"

This should only be invoked if a partition occurs during a learner process and you don't want to re-bootstrap the affected node.

post/api/v1.cluster-admin.force-node-upgrade

Request body

node_idstring required

Example request

{
  "node_id": "a1a2a3a4b1b2c1c2d1d2d3d4d5d6d7d8"
}

Response

initial_node_state'leader' | 'follower' | 'learner' | 'candidate' | 'shutdown' | 'unknown' required
final_node_state'leader' | 'follower' | 'learner' | 'candidate' | 'shutdown' | 'unknown' required

Changes

Changed in 1 of the 58 revisions of this API.1