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 a race condition in MongoCluster #311

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

Obbut
Copy link
Collaborator

@Obbut Obbut commented Jun 28, 2023

Closes #310, as already discussed with @Joannis

Adding a test case to catch this would be a good idea, but is quite involved, so I will create another issue for that.

@Obbut Obbut requested a review from Joannis June 28, 2023 10:50
@Obbut Obbut changed the title Fixed MongoCluster race condition Fix a race condition in MongoCluster Jun 28, 2023
@Joannis Joannis merged commit e4eb927 into master/7.0 Jun 28, 2023
@Joannis Joannis deleted the feature/fix-cluster-lazy branch June 28, 2023 13: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.

Race condition in MongoCluster when using lazy connection to SRV hostname
2 participants