Peter Miklos
Peter Miklos

Reputation: 76

Allocation of single sharded indexes among multiple nodes

I create monthly indexes for my time-based data set. If each index had only 1 shard and I had 2 nodes, how would the indexes be allocated between the two nodes? More precisely, would the shards be balanced between the 2 nodes?

Upvotes: 0

Views: 33

Answers (1)

bittusarkar
bittusarkar

Reputation: 6357

By default Elasticsearch will try to allocate the same number of shards on each node.

Upvotes: 1

Related Questions