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

Fix collection modified exceptions that can occur and fault a projection #1561

Merged
merged 1 commit into from
Feb 15, 2018

Conversation

hayley-jean
Copy link
Member

Change the dictionary that tracks EOF's in the MultiStreamEventReader to ConcurrentDictionary because it can be accessed from multiple threads.

Use ConcurrentDictionary for eofs to prevent the collection modified exceptions that can occur and fault a projection
Replace locks around pendingRequests in favour of ConcurrentDictionary
@shaan1337 shaan1337 merged commit 86ca2c0 into release-v4.1.1 Feb 15, 2018
@shaan1337 shaan1337 deleted the multi-stream-collection-error branch February 15, 2018 06:56
@gregoryyoung
Copy link
Contributor

👍

@shaan1337 shaan1337 self-requested a review April 16, 2018 05:59
Copy link
Member

@shaan1337 shaan1337 left a comment

Choose a reason for hiding this comment

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

Pre-release review - looks good

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