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

ParallelSourcePlugin fixes and test #104

Merged

Conversation

JelleAalbers
Copy link
Member

This adds tests for the ParallelSourcePlugin, and should fix issue #97. I think @coderdj originally hit this issue during the Stockholm strax workshop, and @tunnell has been seeing it during the SR1 conversion.

ParallelSourcePlugins (see docs: https://strax.readthedocs.io/en/latest/developer/parallel.html#parallelsourceplugin) inline other plugins, so they have multiple outputs. They need an intermediate mailbox to stage these outputs to. Unfortunately, this mailbox was named after the original plugin, which clashed with the mailbox used for outputting the data the original plugin produced (e.g. raw_records). If that data was needed anywhere else, e.g. as the final target, strange stuff would happen.

I could not get my test to run with multiprocessing activated. Since multiprocessing isn't tested anywhere else, and we know it has other issues anyway (#92), I've left this for later.

@JelleAalbers JelleAalbers merged commit f5d50fa into AxFoundation:master Oct 3, 2018
@JelleAalbers JelleAalbers deleted the fix_parallelsource_load branch October 3, 2018 13:10
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.

None yet

1 participant