-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
in_systemd: fix no journal data when reading from tail #8396
Conversation
Config tested:
Debug logs:
Valgrind summary:
|
Maybe @cosmo0920 could take a look? |
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.
Thank you for your work. I confirmed that the previous behavior that returns two journal entries is restored with this patch.
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.
LGTM. No idea why I was flagged as CODEOWRNERS
though.
Is there anything holding this up besides CODEOWNER approval? Sorry for the ping @edsiper @leonardo-albertovich @fujimotos @koleini |
This fix works for us as well. Thank you ! |
hey @edsiper ... can we please get some movement on this? Or another code-owner who can review this one-line fix and merge? |
Adds a cursor step-back to after seeking to journal tail. This is necessary in order for subsequent journal reads to return data. Fixes issue #8394. Signed-off-by: Nicholas Hassan <[email protected]>
Fixed by #8917 |
Adds a journal cursor step-back after seeking to journal tail. This is necessary in order for subsequent journal reads to return data. Fixes issue #8394.
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.