File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
src/main/java/org/elasticsearch/cluster/routing/allocation/decider Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ The following settings may be used:
56
56
setting, mainly make sense when using it dynamically using the
57
57
cluster update settings API.
58
58
59
+ `cluster.routing.allocation.same_shard.host`::
60
+ Prevents that multiple instances of the same shard are allocated
61
+ on a single host. Defaults to `false`. This setting only applies
62
+ if multiple nodes are started on the same machine.
59
63
60
64
`indices.recovery.concurrent_streams`::
61
65
The number of streams to open (on a *node* level) to recover a
Original file line number Diff line number Diff line change 27
27
import org .elasticsearch .common .settings .Settings ;
28
28
29
29
/**
30
- * An allocation decider that prevents the more than prevents multiple instances
31
- * of the same shard to be allocated on a single <tt>host</tt>. The cluster setting can
32
- * be modified in real-time by updating the {@value #SAME_HOST_SETTING} value of
33
- * cluster setting API. The default is <code>false</code>.
30
+ * An allocation decider that prevents multiple instances of the same shard to be
31
+ * allocated on a single <tt>host</tt>. The cluster setting can be modified in
32
+ * real-time by updating the {@value #SAME_HOST_SETTING} value of cluster setting
33
+ * API. The default is <code>false</code>.
34
34
* <p>
35
35
* Note: this setting only applies if multiple nodes are started on the same
36
36
* <tt>host</tt>. Multiple allocations of the same shard on the same <tt>node</tt> are
You can’t perform that action at this time.
0 commit comments