-
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
Move exec WaitGroup from Exec instance level to Gather function level. #1464
Conversation
@@ -156,8 +152,6 @@ func gatherWithTimeout( | |||
acc *accumulator, | |||
timeout time.Duration, | |||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is no longer gatherWithTimeout
as the timeout
argument isn't used anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't mean for the last commit to end up in the pull request.
@@ -1,3 +1,7 @@ | |||
### Bugfixes | |||
|
|||
- [#1463](https://github.com/influxdata/telegraf/issues/1463): Shared WaitGroup in Exec plugin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should go in the 1.0 bugfixes section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should go in the 1.0 bugfixes section
Why? this "bug" only happens if you run a modified version of telegraf.
3a0cc4d
to
d14c8a7
Compare
please rebase and out "closes #1463" in your commit message, and then I'll merge |
…. If Gather is run concurently the shared WaitGroup variable never finishes.
CHANGELOG.md conflicts resolved. |
Required for all PRs:
This pull-request addresses #1463: Shared WaitGroup in Exec plugin Bug