Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce separate shard limit for frozen shards (#71392) #71760

Merged

Conversation

henningandersen
Copy link
Contributor

@henningandersen henningandersen commented Apr 15, 2021

Backport of #71392

Frozen indices (partial searchable snapshots) require less heap per
shard and the limit can therefore be raised for those. We pick 3000
frozen shards per frozen data node, since we think 2000 is reasonable
to use in production.

Relates #71042 and #34021

Includes #71781 and #71777

Frozen indices (partial searchable snapshots) require less heap per
shard and the limit can therefore be raised for those. We pick 3000
frozen shards per frozen data node, since we think 2000 is reasonable
to use in production.

Relates elastic#71042 and elastic#34021
@henningandersen henningandersen added >enhancement :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs :Data Management/Indices APIs APIs to create and manage indices and templates backport :Distributed/Autoscaling v7.13.0 labels Apr 15, 2021
@elasticmachine elasticmachine added Team:Distributed Meta label for distributed team Team:Data Management Meta label for data/management team labels Apr 15, 2021
@elasticmachine
Copy link
Collaborator

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

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

If master ends up on a newer version than other cluster members, we
cannot apply the new index setting for shard limits. We skip doing so
for now.
henningandersen added a commit that referenced this pull request Apr 17, 2021
Test would fail one out of 20 runs due to off by one error.

Relates to #71760
@henningandersen henningandersen merged commit 12314f6 into elastic:7.x Apr 17, 2021
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Apr 17, 2021
After elastic#71760 has been backported, we can adjust the version for when to
apply the new shard limit.
henningandersen added a commit that referenced this pull request Apr 17, 2021
After #71760 has been backported, we can adjust the version for when to
apply the new shard limit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/Indices APIs APIs to create and manage indices and templates :Distributed/Autoscaling :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Data Management Meta label for data/management team Team:Distributed Meta label for distributed team v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants