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

[Bug] copy sync.Map will cause the data race in loadbalance #811

Closed
3 tasks done
absolute8511 opened this issue Aug 7, 2024 · 2 comments · May be fixed by #810
Closed
3 tasks done

[Bug] copy sync.Map will cause the data race in loadbalance #811

absolute8511 opened this issue Aug 7, 2024 · 2 comments · May be fixed by #810
Labels
stale Pull request is stale type/bug Something isn't working

Comments

@absolute8511
Copy link

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Programming Language of the Client

Go

Runtime Platform Environment

Linux

RocketMQ Version of the Client/Server

newest

Run or Compiler Version

golang 1.20

Describe the Bug

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

Steps to Reproduce

running benchmark to send messages for golang and make it sometimes blocked or limited by the server.

What Did You Expect to See?

no panic

What Did You See Instead?

panic as below
image

Additional Context

No response

Copy link

github-actions bot commented Sep 7, 2024

This issue 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.

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

This issue was closed because it has been inactive for 3 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Pull request is stale type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant