forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make downsample target index replicas configurable (elastic#99712)
* fix: make downsample target index replicas configurable Introducing this setting in the downsampling logic will allow us to override its value for Serverless deployments by means of a plugin. In Steteful deployments we will use a default value of 0 to avoid unnecessary replication. In Serverless deployments a minimum value of 1 is required to set the value of 'index.number_of_replicas'. This is because in Serverless deployments indices without replicas are not readable and that would break our persistent task receovery mechanism which relies on reading the latest written tsid into the downsampling target index. Not having replicas in Serverless would result in downsampling persistent tasks to always start from scratch.
- Loading branch information
1 parent
56d036e
commit 0ed1a8e
Showing
3 changed files
with
45 additions
and
30 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,5 @@ | ||
pr: 99712 | ||
summary: Make downsample target index replicas configurable | ||
area: Downsampling | ||
type: bug | ||
issues: [] |
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