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 statsd concurrency bug #8885

Merged
merged 5 commits into from
Feb 25, 2021
Merged

Fix statsd concurrency bug #8885

merged 5 commits into from
Feb 25, 2021

Conversation

ivorybilled
Copy link
Contributor

This bug was inadvertently caused by a small optimization I attempted to make in a previous PR, simply resetting that change here.

Closes #8695

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Feb 19, 2021
Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

Copy link
Contributor

@ssoroka ssoroka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're sure this is the cause, and not the cached changes?
edit: slacked you some thoughts

@ivorybilled
Copy link
Contributor Author

Updated to keep somewhat of the 'optimization' by adding the lock only to parseName. From my various tests, this works as well.

@ivorybilled
Copy link
Contributor Author

!retry-checks

4 similar comments
@ivorybilled
Copy link
Contributor Author

!retry-checks

@ivorybilled
Copy link
Contributor Author

!retry-checks

@ivorybilled
Copy link
Contributor Author

!retry-checks

@ivorybilled
Copy link
Contributor Author

!retry-checks

@ivorybilled ivorybilled merged commit 25aa0ee into master Feb 25, 2021
@ivorybilled ivorybilled deleted the statsdIssue branch February 25, 2021 22:17
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
* Fix the issue

* Remove test I was using for replication

* Accidentally removed test.

* Add lock only where it is necessary.

* eliminate unnecessary space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[inputs.statsd] Tags mangled with tags from other StatsD metrics
2 participants