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

Add global lock for syslog structured output conversion to avoid bug #68

Conversation

BenMatase
Copy link

Summary

In the go-syslog code, there is global state causing concurrent messages being constructed to occasionally stomp on each other. I'm working on an upstream fix here, but in the meantime until that gets published, we want to prevent this from happening.

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@gregschrock
Copy link
Collaborator

I think Shri's changes are in the release branch right now. This fix might be held up by that unless we work around it somehow.

@BenMatase BenMatase force-pushed the I95-54525-fix-syslog-output-corruption branch from 5286420 to 19a3a3a Compare December 6, 2023 15:42
@BenMatase BenMatase changed the base branch from release-128tech-1.22 to release-128tech-1.22.6-temp December 6, 2023 15:42
@BenMatase BenMatase merged commit 87d5e89 into release-128tech-1.22.6-temp Dec 6, 2023
2 checks passed
@BenMatase BenMatase deleted the I95-54525-fix-syslog-output-corruption branch December 6, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants