-
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
Journald reader: correctly handle journalctl restart #42595
Merged
belimawr
merged 1 commit into
elastic:main
from
belimawr:41331-handle-journalctl-restarts
Feb 7, 2025
Merged
Journald reader: correctly handle journalctl restart #42595
belimawr
merged 1 commit into
elastic:main
from
belimawr:41331-handle-journalctl-restarts
Feb 7, 2025
Conversation
This file contains 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
belimawr
added
bugfix
backport-8.x
Automated backport to the 8.x branch with mergify
backport-8.16
Automated backport with mergify
backport-8.17
Automated backport with mergify
backport-9.0
Automated backport to the 9.0 branch
labels
Feb 4, 2025
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Feb 4, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself.
belimawr
force-pushed
the
41331-handle-journalctl-restarts
branch
from
February 4, 2025 21:28
a0edcb6
to
0d5ae7b
Compare
belimawr
added
the
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
label
Feb 4, 2025
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Feb 4, 2025
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
VihasMakwana
approved these changes
Feb 5, 2025
mergify bot
pushed a commit
that referenced
this pull request
Feb 7, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself. (cherry picked from commit 1cd128b)
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Feb 7, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself. (cherry picked from commit 1cd128b)
mergify bot
pushed a commit
that referenced
this pull request
Feb 7, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself. (cherry picked from commit 1cd128b)
This was referenced Feb 7, 2025
mergify bot
pushed a commit
that referenced
this pull request
Feb 7, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself. (cherry picked from commit 1cd128b)
6 tasks
belimawr
added a commit
that referenced
this pull request
Feb 7, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself. (cherry picked from commit 1cd128b) Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
belimawr
added a commit
that referenced
this pull request
Feb 7, 2025
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser. This commit fixes it by handling the "retry read" in the reader itself. (cherry picked from commit 1cd128b) Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-8.x
Automated backport to the 8.x branch with mergify
backport-8.16
Automated backport with mergify
backport-8.17
Automated backport with mergify
backport-9.0
Automated backport to the 9.0 branch
bugfix
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
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.
Proposed commit message
The journald reader would return an error and an empty message when journalctl was restarting, that would break the multiline parser.
This commit fixes it by handling the "retry read" in the reader itself.
Checklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.## Disruptive User Impact## Author's ChecklistHow to test this PR locally
Related issues
## Use cases## Screenshots## Logs