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.
[TEST] Assert DSL merge policy respects end date (elastic#113038)
[TEST] Assert DSL merge policy respects end date Backing indexes with an end date in the future may still get writes, so DSL should not apply the merge policy (first configuring the settings on the index, then doing the force merge) until that time has passed. The implementation already does this, because `DataStreamLifecycleService.run()` calls `timeSeriesIndicesStillWithinTimeBounds` and adds the resulting indices to `indicesToExcludeForRemainingRun` before calling `maybeExecuteForceMerge`. This change simply adds a unit test to ensure that this behaviour does not regress. Closes elastic#109030
- Loading branch information
1 parent
63e0897
commit 81041b4
Showing
1 changed file
with
50 additions
and
1 deletion.
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