mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 17:39:15 +00:00
This commit takes into account the index.number_of_replicas (defaults to 0 - no replicas- ) value when setting an index template. This change enables the index.wait_for_active_shards value to be interpreted correctly (cherry picked from commit 07026ac3d56dc9fae69467adfda7eaed7ea3ca00) Signed-off-by: Andrei Dan <andrei.dan@elastic.co> Co-authored-by: tninokehoe <62655306+tninokehoe@users.noreply.github.com>