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

should not copy sync.Map in loadBalancer #810

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

absolute8511
Copy link

@absolute8511 absolute8511 commented Aug 7, 2024

Which Issue(s) This PR Fixes

Fixes #811

Brief Description

copy sync.Map will cause the data race, it may report as below
image

How Did You Test This Change?

go vet should not report any sync.Map error

Copy link

github-actions bot commented Sep 7, 2024

This PR is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.

@github-actions github-actions bot added the stale Pull request is stale label Sep 7, 2024
@absolute8511
Copy link
Author

Can anyone please review on it? Thanks, ping @lizhanhui

@github-actions github-actions bot removed the stale Pull request is stale label Sep 10, 2024
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.

[Bug] copy sync.Map will cause the data race in loadbalance
1 participant