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

RLock server when checking shard groups #2475

Merged
merged 1 commit into from
May 1, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented May 1, 2015

This fixes a race detected by the race detector. "Create shard groups"
commands must be broadcast across the cluster without holding the server
lock so the commands are created under lock, and then processed after
releasing the lock.

@otoolep otoolep force-pushed the fix_race_during_shards_group_check branch from 07ac198 to 846a857 Compare May 1, 2015 18:26
This fixes a race detected by the race detector. "Create shard groups"
commands must be broadcast across the cluster without holding the server
lock so the commands are created under lock, and then processed after
releasing the lock.
@otoolep otoolep force-pushed the fix_race_during_shards_group_check branch from 846a857 to b93554e Compare May 1, 2015 19:04
@otoolep
Copy link
Contributor Author

otoolep commented May 1, 2015

Green build, ready to merge.

@jwilder
Copy link
Contributor

jwilder commented May 1, 2015

👍

otoolep added a commit that referenced this pull request May 1, 2015
…heck

RLock server when checking shard groups
@otoolep otoolep merged commit b1474ed into master May 1, 2015
@otoolep otoolep deleted the fix_race_during_shards_group_check branch May 1, 2015 19:17
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