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

protect accumulator values with a mutex #20

Merged
merged 1 commit into from
Jun 22, 2015

Conversation

nkatsaros
Copy link
Contributor

This fixes a race condition in the redis plugin where accumulator functions are called from a goroutine. This should allow plugins to use the accumulator concurrently without any issues in the future.

evanphx added a commit that referenced this pull request Jun 22, 2015
protect accumulator values with a mutex
@evanphx evanphx merged commit 0d87eb4 into influxdata:master Jun 22, 2015
siva-vunet pushed a commit to siva-vunet/telegraf that referenced this pull request May 23, 2023
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.

2 participants