Skip to content

Conversation

lifepuzzlefun
Copy link
Contributor

@lifepuzzlefun lifepuzzlefun commented Jul 23, 2022

fix #790

in golang direct read from atomic int64 will cause data race
see https://stackoverflow.com/questions/54090404/what-is-causing-this-data-race

@lifepuzzlefun
Copy link
Contributor Author

@lifepuzzlefun lifepuzzlefun changed the title use uber atomic lib to avoid atomic value data race. [ISSUE #790] use uber atomic lib to avoid atomic value data race. Jul 23, 2022
@guyinyou
Copy link
Contributor

wonderful

@ShannonDing ShannonDing merged commit b6d6f07 into apache:master Jul 25, 2022
@ShannonDing ShannonDing added the enhancement New feature or request label Jul 25, 2022
@ShannonDing ShannonDing added this to the 2.1.1 milestone Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: some data race found in rocketmq-client-go
3 participants