elasticsearch/docs/reference/cluster
David Turner 95edc6deb2
Clarify allocation explain if random shard chosen (#75670)
Today we often encounter users that are confused by the behaviour of
calling `GET _cluster/allocation/explain` without a body: it _seems_ to
work, but it explains a random shard, and if this isn't the shard
they're thinking of then it's unclear how to proceed.

With this commit we add a note to the response when a shard was randomly
chosen indicating that it is possible, and possibly useful, to explain a
different shard. We also adjust the exception message in the case when
all shards are assigned to indicate why it's an invalid request and what
to do to make it valid.
2021-08-02 15:14:09 +01:00
..
allocation-explain.asciidoc Clarify allocation explain if random shard chosen (#75670) 2021-08-02 15:14:09 +01:00
get-settings.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
health.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
nodes-hot-threads.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
nodes-info.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
nodes-reload-secure-settings.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
nodes-stats.asciidoc Adding shard count to node stats api (#75433) 2021-07-27 10:39:53 -05:00
nodes-usage.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
pending.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
remote-info.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
reroute.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
state.asciidoc [DOCS] Update alias references (#73427) 2021-05-27 16:00:57 -04:00
stats.asciidoc Remove usage of RAM accounting of segments (#75674) 2021-07-29 08:36:09 +02:00
tasks.asciidoc Identify cancelled tasks in list tasks API (#72931) 2021-05-17 11:02:50 +01:00
update-settings.asciidoc [DOCS] Add security privileges to cluster API docs (#67589) 2021-01-19 10:18:59 -05:00
voting-exclusions.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00