Skip to content

fix: replicas and shards settings#108

Merged
siddharthlatest merged 3 commits intodevfrom
fix/replicas-and-shards
Jun 2, 2020
Merged

fix: replicas and shards settings#108
siddharthlatest merged 3 commits intodevfrom
fix/replicas-and-shards

Conversation

@lakhansamani
Copy link

What does this do / why do we need it?

We were setting shards and replicas incorrectly for all the plugins and templates. Because of this cluster can use unnecessary space and can also go into red / yellow state while scaling.

Orginal settings shards => number of nodes & replicas => number of nodes - 1

New settings shards => 1 & replicas => min(1, number of nodes - 1)

What should your reviewer look out for in this PR?

Which issue(s) does this PR fix?

https://www.loom.com/share/99fbc94976154825a23aafc7c9061686

If this PR affects any API reference documentation, please share the updated endpoint references

@siddharthlatest siddharthlatest merged commit 1e573b5 into dev Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants