The replica of a shard should never be on the same node as the primary.
Where did you notice this anomaly? What version are you using?

-- 
Ivan


On Fri, Aug 29, 2014 at 3:52 AM, Mark Walkom <[email protected]>
wrote:

> That's the best method as per
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-cluster.html#allocation-awareness
>
> Regards,
> Mark Walkom
>
> Infrastructure Engineer
> Campaign Monitor
> email: [email protected]
> web: www.campaignmonitor.com
>
>
> On 29 August 2014 20:45, 'Nicolas Fraison' via elasticsearch <
> [email protected]> wrote:
>
>> Hi,
>>
>> I have an ES cluster with 12 data nodes spread on 6 servers (so 2 nodes
>> per server) and I saw that replicas of a shard can be allocated on the same
>> server(on each nodes hosted by a server)
>>
>> To avoid this I haveset those parameters to the cluster:
>> node.host: <server_name>
>> cluster.routing.allocation.awareness.attributes: zone, host
>>
>> But I'm wondering if there are not a specific parameter for this instead
>> of using clustering awareness allocation?
>>
>> Nicolas
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/4d3924ab-77e4-49ef-9039-52df801ff46d%40googlegroups.com
>> <https://groups.google.com/d/msgid/elasticsearch/4d3924ab-77e4-49ef-9039-52df801ff46d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAEM624YaxHLT%3DsptzqcSQw3i9u9oozO_2DstFJ6vCs-VC_bzOw%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CAEM624YaxHLT%3DsptzqcSQw3i9u9oozO_2DstFJ6vCs-VC_bzOw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCFgA6FprUZ%2BZoYsB47N4f28pXSP4%2BGfdkRn_3L%3D_tXow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to