General question shard initialization in cluster

I have a cluster with 2 data nodes. Each index has 5 primary shards and 1
replica. Therefore, the data on both nodes should be identical, at least
for indices that are not changed anymore.
Before I restart/shut a node I disable routing allocation and once the node
is up again I reactivate it.
In most cases the intialization of a shard is really quick as the data is
already there, but sometimes I seems that the whole data is recreated even
though nothing was changed about this index in the meantime.
Is that normal? And how to assure that the existing replica/primary shard
on the rebooted node is reused?
Did I miss something fundamental?


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