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

Query: Make GroupJoinInclude in compiled query thread safe #6119

Closed
wants to merge 1 commit into from
Closed

Conversation

smitpatel
Copy link
Member

Resolves #5456
Issue: GroupJoinInclude in compiled query has querycontext as field which is initialized while iterating query. If the same query is ran from different thread and uses the cached entry then the querycontext in GroupJoinInclude gets changed. Which means only 1 query will have correct context, rest of them will be using incorrect data hence causing exception.
Solution: Make GroupJoinInclude immutable and use different data structure which is context based for each query.
Same applies to async case.

@smitpatel
Copy link
Member Author

Closing this one & creating PR against hotfix1.0.1 branch.

@smitpatel smitpatel closed this Jul 21, 2016
@smitpatel smitpatel deleted the NRE branch August 4, 2016 00:02
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

2 participants