Let the platform do the work

/Administration/elasticsearch/replicas/enable POST

Overview

[ADMIN] Elasticsearch enable replicas

Summary

Enable replicas for all indices managed by SugarCRM. This endpoint is only available to administrators. This requires reindex_zero_replica to be enabled.

Response

{
  "aabbcc_contactsleads": 200,
  "aabbcc_accountsonly": 200,
  "aabbcc_shared": 200
}

Change Log

Version Change
v10 Added /Administration/elasticsearch/replicas/enable POST endpoint.