Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix `.script` index template. #7500
This commit makes the default number of shards for the .scripts index to
referenced this pull request
Sep 6, 2014
In 1.3.2, the .scripts index was created by default with 5 primary and 1 replica shards.
I just upgraded to 1.3.4, and now the .scripts index is created with 1 primary and 0 replica shards.
The only way I figured out to change the .scripts shards number is to create it manually before indexing any search template:
Is this the recommended way? Are there any recommended values for the .scripts' replicas and shards numbers?
@clintongormley: One more question. What happens if we have a cluster of two nodes and the master goes down? I understand we won't have failover since the .scripts default replica number is 0. Which means we would need to change the default replica number to 1 at least, isn't it?