[DOCS] Added documentation for SameShardAllocationDecider

Closes #4615
This commit is contained in:
Alexander Reelsen 2014-01-09 11:22:49 +01:00
parent 216c814a7f
commit 1652767ec8
2 changed files with 8 additions and 4 deletions

View File

@ -68,6 +68,10 @@ added[1.0.0.RC1]
cluster update settings API. This setting has been deprecated in
favour for `cluster.routing.allocation.enable`.
`cluster.routing.allocation.same_shard.host`::
Prevents that multiple instances of the same shard are allocated
on a single host. Defaults to `false`. This setting only applies
if multiple nodes are started on the same machine.
`indices.recovery.concurrent_streams`::
The number of streams to open (on a *node* level) to recover a

View File

@ -27,10 +27,10 @@ import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
/**
* An allocation decider that prevents the more than prevents multiple instances
* of the same shard to be allocated on a single <tt>host</tt>. The cluster setting can
* be modified in real-time by updating the {@value #SAME_HOST_SETTING} value of
* cluster setting API. The default is <code>false</code>.
* An allocation decider that prevents multiple instances of the same shard to be
* allocated on a single <tt>host</tt>. The cluster setting can be modified in
* real-time by updating the {@value #SAME_HOST_SETTING} value of cluster setting
* API. The default is <code>false</code>.
* <p>
* Note: this setting only applies if multiple nodes are started on the same
* <tt>host</tt>. Multiple allocations of the same shard on the same <tt>node</tt> are