-
Notifications
You must be signed in to change notification settings - Fork 5.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
race condition in nsq plugin #1445
Comments
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
telegraf/plugins/inputs/nsq/nsq.go
Lines 66 to 76 in c046232
outerr is not protected via a mutex.
Additionally, whichever call to n.gatherEndpoint completes last wins writing to outerr. Meaning if one server fails, stores the error in outerr, but then the second server completes successfully, the first error is lost.
The text was updated successfully, but these errors were encountered: