Skip to content

Commit

Permalink
clarify allocation awareness docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bleskes committed Jun 24, 2015
1 parent ef802bb commit c142233
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/reference/modules/cluster.asciidoc
Original file line number Diff line number Diff line change
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 c142233

Please sign in to comment.