Local gateway recovery

From http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-gateway-local.html#_dangling_indices

When a node joins the cluster, any shards/indices stored in its local data/
directory which do not already exist in the cluster will be imported into
the cluster by default.

Does this also include unassigned shards?
Suppose shard allocation is disabled, and a node gets partitioned from the
cluster (so its shards become unassigned). When it rejoins the cluster,
will it pick up those shards again, or will they remain unassigned.

Does this behavior change for primary vs. replica shards?

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2b669b59-974f-4f6c-a08a-f246c9bb7603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.