API Stability Short-Term

The setMinHostAlivePercentageToEnableClusterRebalancing() GraphQL mutation is used to set the percentage of all hosts relevant to a particular cluster rebalance operation that need to be alive before we allow the system to execute automatically the operation to the supplied value. Cluster rebalance operations currently include reassigning digest work, and moving existing segments to balance disk usage.

Syntax

Below is the syntax for setMinHostAlivePercentageToEnableClusterRebalancing():

graphql
setMinHostAlivePercentageToEnableClusterRebalancing(
      minHostAlivePercentageToEnableClusterRebalancing: integer!
   ): integer!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  setMinHostAlivePercentageToEnableClusterRebalancing( 
       minHostAlivePercentageToEnableClusterRebalancing: 50
  )
}
Example Responses
Show:
json
{
  "data": {
    "setMinHostAlivePercentageToEnableClusterRebalancing": 50
  }
}

This mutation field has no special datatypes. It uses integer for both the input and the return datatype.

For the given data, enter the percentage of all hosts relevant to a particular cluster rebalance operation that need to be alive before we allow the system to automatically execute the operation. Cluster rebalance operations currently include reassigning digest work, and moving existing segments to balance disk usage. Must be between 0 and 100, both inclusive.