Tuesday, 15 May 2012

Elasticsearch shard allocation -



Elasticsearch shard allocation -

i have 1 es cluster 3 nodes, 1 index, 3 shards , 2 replica per shard.

for reason, primary shards located on same node:

node 1: replica 0, replica 1, replica 2 node 2: replica 0, replica 1, replica 2 node 3: primary 0, primary 1, primary 2.

what should rebalance shards? want have 1 primary shard per 1 node, example:

node 1: primary 0, replica 1, replica 2 node 2: replica 0, primary 1, replica 2 node 3: replica 0, replica 1, primary 2.

elasticsearch

No comments:

Post a Comment