Skip to content

Fix statsd concurrency bug#8885

Merged
ivorybilled merged 5 commits intomasterfrom
statsdIssue
Feb 25, 2021
Merged

Fix statsd concurrency bug#8885
ivorybilled merged 5 commits intomasterfrom
statsdIssue

Conversation

@ivorybilled
Copy link
Copy Markdown
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
Copy Markdown
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!

@ivorybilled ivorybilled requested a review from ssoroka February 19, 2021 21:43
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

!retry-checks

4 similar comments
@ivorybilled
Copy link
Copy Markdown
Contributor Author

!retry-checks

@ivorybilled
Copy link
Copy Markdown
Contributor Author

!retry-checks

@ivorybilled
Copy link
Copy Markdown
Contributor Author

!retry-checks

@ivorybilled
Copy link
Copy Markdown
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