Skip to content
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

Avoid rolling over twice in searchable snapshot test #108790

Merged
merged 4 commits into from
May 23, 2024

Conversation

nielsbauman
Copy link
Contributor

Manually rolling over the data stream was 1. not necessary, and
2. causing issues when it happened after ILM had already rolled over, which would make ILM convert the second backing index into a searchable snapshot as well, possibly preventing the data stream from being deleted.

Fixes #107421

Manually rolling over the data stream was 1. not necessary, and
2. causing issues when it happened after ILM had already rolled
over, which would make ILM convert the second backing index into a
searchable snapshot as well, possibly preventing the data stream
from being deleted.

Fixes elastic#107421
@nielsbauman nielsbauman added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team v8.15.0 labels May 17, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@gmarouli gmarouli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, since we rely on ILM to do the rollover, I think we should move all the pre-rollover checks earlier to avoid any timing issues.

@nielsbauman nielsbauman requested a review from gmarouli May 22, 2024 13:25
@nielsbauman nielsbauman merged commit 1073c8b into elastic:main May 23, 2024
16 checks passed
@nielsbauman nielsbauman deleted the fix-searchable-snapshot-test branch May 23, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] SearchableSnapshotActionIT testSearchableSnapshotsInHotPhasePinnedToHotNodes failing
3 participants