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.
Change index.look_ahead_time setting's default value from 2 hours to …
…30 minutes. (elastic#103898) A followup from elastic#103434 The impact of this change is that by default documents with @timestamp of 30 minutes or more in the future will be rejected. Prior to this change by default documents with @timestamp of 2 hours or more in the future were rejected. If the previous behaviour should be kept, then update the index.look_ahead_time setting to two hours before performing the upgrade. By reducing the default look ahead time, new metrics will sooner be indexed into the new backing index. With the current default it takes up to 2 hours before writes get indexed into the new backing index. This is after rollover has occurred. This delayed effect can result in previous backing index growing well beyond the rollover conditions. This change should reduce this effect.
- Loading branch information
Showing
7 changed files
with
64 additions
and
57 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,14 @@ | ||
pr: 103898 | ||
summary: Change `index.look_ahead_time` index setting's default value from 2 hours to 30 minutes. | ||
area: TSDB | ||
type: breaking | ||
issues: [] | ||
breaking: | ||
title: Change `index.look_ahead_time` index setting's default value from 2 hours to 30 minutes. | ||
area: Index setting | ||
details: Lower the `index.look_ahead_time` index setting's max value from 2 hours to 30 minutes. | ||
impact: > | ||
Documents with @timestamp of 30 minutes or more in the future will be rejected. | ||
Before documents with @timestamp of 2 hours or more in the future were rejected. | ||
If the previous behaviour should be kept, then update the `index.look_ahead_time` setting to two hours before performing the upgrade. | ||
notable: false |
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
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.