-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ILM]: Fix TSDS unfollow timing with WaitUntilTimeSeriesEndTimePassesStep #128361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e45b2ef
[ILM] Fix TSDS unfollow timing with WaitUntilTimeSeriesEndTimePassesStep
happysubin 731d62b
Merge branch 'main' into fix/ilm-unfollow-delay
samxbr e759e97
[ILM] Move WaitUntilTimeSeriesEndTimePassesStep before WaitForFollowS…
happysubin 4634388
style: apply code format to UnfollowAction.java
happysubin 99d6ecf
test: Add integration test for TSDB rollover and CCR sync during ILM …
happysubin 4f2845a
Merge branch 'main' into fix/ilm-unfollow-delay
samxbr cb5e908
fix: remove println(), line length warning supress
happysubin 08fd178
Add changelog
gmarouli 47f2255
refactor: improve test code quality and readability
happysubin b053052
Merge branch 'main' into fix/ilm-unfollow-delay
gmarouli feab346
fix: increase assertBusy timeout
happysubin 9598115
fix: Address flakiness in follower cluster rollover test
happysubin 808af43
Merge branch 'main' into fix/ilm-unfollow-delay
gmarouli 18bcd3d
docs: explain why certain implementations were chosen
happysubin 1ad5d31
Improve ILM rollover comment clarity
happysubin c0cc30e
Merge branch 'main' into fix/ilm-unfollow-delay
samxbr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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: 128361 | ||
| summary: The follower index should wait until the time series end time passes before unfollowing the leader index. | ||
| area: ILM+SLM | ||
| type: bug | ||
| issues: | ||
| - 128129 |
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add new integration test in the CCRIndexLifecycleIT test suite to cover this scenario. You can refer to this test as an example for verifying the
WaitUntilTimeSeriesEndTimePassesStep. Essentially we would want to verify that after leader index rollovers, the follower index goes into theWaitUntilTimeSeriesEndTimePassesStep, and new documents to the leader index are synced to the follower index untilend_timehas passed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the code review.
I'll review the existing test cases and work on adding new ones.I'm going to add test code!