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

Add extra protection for grid reconnects #18840

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

klauspost
Copy link
Contributor

Description

Race checks would occasionally show race on handleMsgWg WaitGroup by debug messages (used in test only).

Use the connMu mutex to protect this against concurrent Wait/Add.

Fixes #18827

How to test this PR?

See #18827

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Race checks would occasionally show race on handleMsgWg WaitGroup by debug messages (used in test only).

Use the `connMu` mutex to protect this against concurrent Wait/Add.

Fixes minio#18827
@harshavardhana harshavardhana merged commit feeeef7 into minio:master Jan 22, 2024
20 checks passed
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.

sporadic websocket grid test race
2 participants