ES keeps deleting shards

hey folks,

as we added an additional es node yesterday(actually an other instance of
ES with an different data path on our server), some of the shards that were
moved to this node, keep stuck initializing.

Given to the debug logs, it seems like they got corrupted during the copy
process (about 20 of 140 moved shards got this problem...) so i decided it
could help to manually assign them to an node, using the reroute-api.

=> curl -X POST \

'http://localhost:9200/_cluster/reroute?pretty=true' \

-d '{ "commands" : [ { "allocate" : { "index" : "logstash-2014.06.07", 

"shard" : 2 , "node" : "Storage", "allow_primary" : 2 }}]}'

After I issued the command, ES tried to initialize the shard, but then this
suddenly happend:

It seems like ES decided to delete the whole shard, due to its (potential)
corruption and with it 1/3 of the data in it.

In my opinion ES should never ever be allowed to delete anything without
permission, any clue what happened in this case?

Thanks for feedback

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
To view this discussion on the web visit
For more options, visit