Skip to content

Conversation

@jrodewig
Copy link
Contributor

@jrodewig jrodewig commented Jul 21, 2020

Adds a recommendation for removing replica shards to the prereqs of the shrink index API docs.
Also clarifies some of the existing prereqs.

Closes #59945

jrodewig added 2 commits July 21, 2020 11:28
Adds a recommendation for removing replica shards to the prereqs of the shrink index API docs.
Also clarifies some of the existing prereqs.
@jrodewig jrodewig marked this pull request as ready for review July 21, 2020 17:18
@jrodewig jrodewig added :Data Management/Indices APIs APIs to create and manage indices and templates >docs General docs changes v7.10.0 v7.8.2 v7.9.1 v8.0.0 labels Jul 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

@elasticmachine elasticmachine added Team:Data Management Meta label for data/management team Team:Docs Meta label for docs team labels Jul 21, 2020
Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment about shard allocation that should be verified. Other than that, LGTM.

* The index must be read-only.
* A copy of every shard in the index must reside on the same node.
* The <<cluster-health, cluster health>> status must be green.
* All primary and replica shards for the index must reside on the same node.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that only the primary shards must reside on the same node. ES won't allocate a replica shard to a node containing its primary since that would serve no purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs APIs to create and manage indices and templates >docs General docs changes Team:Data Management Meta label for data/management team Team:Docs Meta label for docs team v7.8.2 v7.9.1 v7.10.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] - Shrinking Index - Include remove replicas

4 participants