forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DSL] skip deleting indices that have in-progress downsampling operat…
…ions (elastic#101495) (elastic#101529) A backing index for which we kicked off downsampling will have a target `downsample-{interval}-.ds...` index created outside the data stream. The source (backing) index will have a downsample status of `STARTED` at this point. When downsampling completes te downsample status of the source index is changed to `SUCCESS` and DSL will atomically swap the downsample index in the data stream instead of the source index, and delete the source index. If retention time for the source index lapses before we finished the downsample operation, the target downsample index will remain in the system, outside the data stream as the source index will be deleted. This makes the DSL retention wait for a potential in-progress downsampling operation to complete, before executing retention.
- Loading branch information
Showing
3 changed files
with
106 additions
and
5 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: 101495 | ||
summary: "[DSL] skip deleting indices that have in-progress downsampling operations" | ||
area: Data streams | ||
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