Skip to content

Commit

Permalink
Merge pull request elastic#11852 from elastic/bleskes-patch-1
Browse files Browse the repository at this point in the history
clarify allocation awareness docs
  • Loading branch information
bleskes committed Jun 25, 2015
2 parents 13b52b9 + c142233 commit 93da03d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/reference/modules/cluster.asciidoc
Expand Up @@ -98,7 +98,10 @@ shards).
Now, if we start two more nodes, with `node.rack_id` set to `rack_two`,
shards will relocate to even the number of shards across the nodes, but,
a shard and its replica will not be allocated in the same `rack_id`
value.
value. The only exception to the later is when the cluster is left with less
`rack_id` values then shard copies. If your cluster spans two racks and one of
them is lost, it is still worth while to spread replicas across the nodes in the
rack that was left (see <<forced-awareness,Forced Awareness>> for an alternative).

The awareness attributes can hold several values, for example:

Expand Down

0 comments on commit 93da03d

Please sign in to comment.