-
Notifications
You must be signed in to change notification settings - Fork 294
(SDI-1827) Fix #1128 Loading collector twice causes task failure #1281
Conversation
Are you able to reproduce the issue from #1128 on master? I tried again just now and wasn't able to. Curious what steps I might be missing, can you provide the steps so I can properly test the PR? |
@IRCody I can't reproduce this issue either on current master or on |
I was able to repro it at the time so that is very weird. I don't feel confident merging this fix though if we can't reproduce the original error and verify it's fixed. |
@IRCody I got your point, but at the same time if plugin is already loaded, this change helps to stop loading early, right after response is received. |
@marcin-krolik: I think we still need to track down why we can't reproduce the issue and find out what's going on. |
@IRCody I used git bisect to track down the issue. This is quite messy, because at that time we were working on simplification of interaction between scheduler and control, and there are Matuesz's commits, mine and Joel's and it is hard to track it, but here is what I found:
|
@marcin-krolik: Thanks for tracking it down. Do you think this PR is still needed? Is the advantage that it would fail earlier? |
After subscription groups was landed this issue was avoided because we get the loaded plugin through the The fact that @marcin-krolik What do you think about changing the type of |
@jcooklin I like this idea. I'm going to start working on it. |
@marcin-krolik: I'm going to go ahead and close this PR. Feel free to re-open this one when you're ready for a review. |
Fixes #1128
Summary of changes:
Testing done:
@intelsdi-x/snap-maintainers