Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

## Summary

Closes elastic#232893

The previous improvements were not enough, [latest
failure](https://buildkite.com/elastic/kibana-on-merge/builds/81112/steps/canvas?jid=019a4a9c-77de-450f-a4e8-70d4efc34012)
shows that we can't guarantee how many times the rolling logic has run:

<img width="846" height="272" alt="image"
src="https://github.com/user-attachments/assets/9ccaac11-92bb-42cf-8b5a-60fd258c23d9"
/>

The PR makes the test even more resilient by not assuming that the
rolling logid has run exactly twice, and instead it just makes
assertions that are valid for the 2 scenarios:
* Assert there are multiple log files (rollover has happened).
* Assert that the rolled files are not empty
* Assert that when concatenating all log files in an ordered fashion, no
log entries are lost.

(cherry picked from commit 11a9589)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Nov 7, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) November 7, 2025 13:51
@kibanamachine kibanamachine merged commit 3c3c567 into elastic:8.19 Nov 7, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants