-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat] keep track of bytes read when max_bytes exceeded in last line #31882
[Filebeat] keep track of bytes read when max_bytes exceeded in last line #31882
Conversation
❕ Build Aborted
Expand to view the summary
Build stats
Steps errorsExpand to view the steps failures
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
/test |
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.
Thanks for following up with a fix!
I double checked that the test isn't flaky anymore locally.
The build here seems to be stuck, all the tests have passed. Merging. https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/PR-31882/2/pipeline |
fix this issue #31863
What does this PR do?
When the last line exceeds the maximum number of bytes, the text will be skipped directly, and then EOF will be returned, but the length of discarded bytes will not be returned, which will result in not being recorded in the registry, further causing repeated reading problems