-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix autoscaling during shrink to disregard pinning to nodes for the total tier size. Instead signal that we need a minimum node size to hold the entire shrink operation. This avoids scaling far higher than necessary when cluster balancing does not allow a shrink to proceed. It is considered a (separate) balancing issue when a shrink cannot complete with enough space in the tier. This changes autoscaling in general for node pinning filters (based on `_id`, `_name` or `name` filters). Clone and split also pins to the shards they clone or split, similarly this is changed to ignore that pinning during autoscaling. Closes #85480
- Loading branch information
1 parent
d4f78db
commit 66e750c
Showing
7 changed files
with
585 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 88292 | ||
summary: Autoscaling during shrink | ||
area: Autoscaling | ||
type: bug | ||
issues: | ||
- 85480 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
280 changes: 264 additions & 16 deletions
280
...ternalClusterTest/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveStorageIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.