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

Don't overwrite DataStream.rolloverOnWrite flag on failure store rollover #107247

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

nielsbauman
Copy link
Contributor

@nielsbauman nielsbauman commented Apr 9, 2024

Follow up of #107206.

Not backporting as failure store rollover has only been part of 8.14.0.

@nielsbauman nielsbauman added >non-issue :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team v8.14.0 labels Apr 9, 2024
@nielsbauman nielsbauman requested a review from gmarouli April 9, 2024 07:25
@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.

Thanks for following up on this @nielsbauman. Shall we add a test too? Like a unit test? Then we can be sure this won't be missed in the future :)

@nielsbauman
Copy link
Contributor Author

Thanks for following up on this @nielsbauman. Shall we add a test too? Like a unit test? Then we can be sure this won't be missed in the future :)

Hmm on the one hand, I'd say we should add a unit test like that for all cases then (which I think is a bit overkill). But, since this specific line/method/scenario is about rollover as well, I'm fine with adding one for this specifically.

Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

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

LGTM!

@nielsbauman nielsbauman merged commit 12398ee into elastic:main Apr 9, 2024
14 checks passed
@nielsbauman nielsbauman deleted the fix-rollover-flag branch April 9, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Data streams Data streams and their lifecycles >non-issue Team:Data Management Meta label for data/management team v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants