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

FIX: Sending duplicate log files from journald sometimes. #12479

Closed
wants to merge 1 commit into from

Conversation

mtanski
Copy link

@mtanski mtanski commented Jun 7, 2019

When we get a notification from journald about some change, make sure we still
call next(). The return value from next() validates if there is new data.

Previously suprious journald change notifications cause the same log line to
be sent.

This should address this bug:
NicholasPCole/droplet-connectivity-testing#7
https://discuss.elastic.co/t/duplicate-messages-created-by-journalbeat-6-7-1-1/175930

When we get a notification from journald about some change, make sure we still
call next(). The return value from next() validates if there is new data.

Previously suprious journald change notifications cause the same log line to
be sent.
@mtanski mtanski requested a review from a team as a code owner June 7, 2019 15:55
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@ghost
Copy link

ghost commented Jun 7, 2019

Hi @mtanski, we have found your signature in our records, but it seems like you have signed with a different e-mail than the one used in your Git commit. Can you please add both of these e-mails into your Github profile (they can be hidden), so we can match your e-mails to your Github profile?

@kvch
Copy link
Contributor

kvch commented Jun 17, 2019

jenkins test this

@kvch
Copy link
Contributor

kvch commented Jun 17, 2019

@mtanski Do you mind adding a changelog entry to CHANGELOG.asciidoc.next? Also, please update your emails, so our CLA checker can accept your contribution.

Thank you for fixing the problem.

@kvch
Copy link
Contributor

kvch commented Jun 28, 2019

Closing as #12716 solves the issue.

@kvch kvch closed this Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants