Skip to content

Conversation

@ahgittin
Copy link
Contributor

@ahgittin ahgittin commented Nov 2, 2017

Execution contexts weren't getting set on subscriptions. Seems this has always been the case, and I guess subscribers weren't relying on having an execution context, but they should be able to, so policies don't always have to use their own (although they probably should for anything long-running, for cleaner task separation). This adds a test that shows the problem, then the solution which specially sets the execution context. (Pretty much everywhere else this isn't a problem because we submit via EC rather than ExecutionManager; but in subscriptions we can't do that given how task tags are passed in. Ideally should refactor LSM so that it takes the EC not the tags -- but this is easier and works just as well.)

@ahgittin ahgittin changed the title Fix execution context on subscriptions Misc enhancements - inferred EC, warnings, more lookups Nov 6, 2017
@ahgittin ahgittin changed the title Misc enhancements - inferred EC, warnings, more lookups Fix execution context on subscriptions Nov 6, 2017
Copy link
Contributor

@aledsage aledsage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asfgit asfgit merged commit 95c5b1e into apache:master Nov 6, 2017
asfgit pushed a commit that referenced this pull request Nov 6, 2017
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.

3 participants