user432024
user432024

Reputation: 4665

Unassigned primary shards

Using ES 1.5.2

When a primary shard is unassigned. Does it mean the data is lost?

I had some unassigned primaries tried to re-allocate them with the allocate command, but the index didn't go back to it's original size.

Upvotes: 0

Views: 344

Answers (1)

Christophe Schutz
Christophe Schutz

Reputation: 613

There shouldn't be any data loss, one of the the master node's roles is specifically to retrieve all the data in the soon-to-be unassigned shard and dispatch it across all the other available shards.

Upvotes: 1

Related Questions