Version: SG FLX
Community

This is a Technical Preview and should not yet be used in production.

Set Replica Count Action

This action sets the number of replicas that should exist for the index, it is defined by the replica_count. By default, indices have a replica count of 1. Having more replicas results in a higher availability of the index in case of node restarts.

Parameters

Parameter Optional Note
replica_count false non negative integer

Example

{
  "steps": [
    ...
    {
      "name": "active",
      "conditions": [ ... ],
      "actions": [
        ...
        {
          "type": "set_replica_count",
          "replica_count": 2
        },
        ...
      ]
    },
    ...
  ]
}


Not what you were looking for? Try the search.