OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

Changing default replica count in OpenSearch

Open gbbafna opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Customers as per their deployment would want to tweak default replica count which is 1 today. Today there is no mechanism to change that .

Though customers can use index templates to specify replica count and wouldn't need to specify same every time customer creates an index .

Describe the solution you'd like

Mechanism to set default replica count via dynamic cluster setting.

Current mechanisms

  1. customers specify replica count in every creation request
  2. use of index templates .

Motivation

This will be useful when awareness replica balance https://github.com/opensearch-project/OpenSearch/issues/3461 is enabled. New indexes without specifying anything in index templates would come up with correct replica count.

gbbafna avatar Aug 03 '22 07:08 gbbafna