[
https://issues.apache.org/jira/browse/USERGRID-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Nine updated USERGRID-411:
-------------------------------
Description:
When allocating indexes, we've seen issues with unbalanced shard allocation
within our cluster. To get around this, we need to set the following setting
in each index.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html#_total_shards_per_node
We should allow this to be a configurable value via properties. During new
index allocation, we'll also need to take this parameter in the payload of
index allocation.
We need to document this to be set as
max shards = # primaries + (# primaries * replicas) / number of nodes
was:
When allocating indexes, we've seen issues with unbalanced shard allocation
within our cluster. To get around this, we need to set the following setting
in each index. We should allow this to be a configurable value, or have this
calculated. I'm for making it just an explicit property, then documenting the
following.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html#_total_shards_per_node
> Fix default index routing rules
> -------------------------------
>
> Key: USERGRID-411
> URL: https://issues.apache.org/jira/browse/USERGRID-411
> Project: Usergrid
> Issue Type: Bug
> Reporter: Todd Nine
>
> When allocating indexes, we've seen issues with unbalanced shard allocation
> within our cluster. To get around this, we need to set the following setting
> in each index.
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html#_total_shards_per_node
> We should allow this to be a configurable value via properties. During new
> index allocation, we'll also need to take this parameter in the payload of
> index allocation.
> We need to document this to be set as
> max shards = # primaries + (# primaries * replicas) / number of nodes
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)