-
Notifications
You must be signed in to change notification settings - Fork 424
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
[ISSUE #544] Fix bug, concurrent map read and map write local offest file #550
Conversation
I had verified this feature. It working in produce env. current replace (
github.com/apache/rocketmq-client-go/v2 => github.com/feiquan123/rocketmq-client-go/v2 v2.2.0
) When will next version be released? I want to use |
Codecov Report
@@ Coverage Diff @@
## master #550 +/- ##
==========================================
+ Coverage 24.21% 24.33% +0.12%
==========================================
Files 48 48
Lines 5010 5018 +8
==========================================
+ Hits 1213 1221 +8
Misses 3598 3598
Partials 199 199
Continue to review full report at Codecov.
|
why ther are some change to readme.md ? plz keep code clean. @feiquan123 |
README.md
Outdated
@@ -53,3 +53,4 @@ For 2.0.0 version, it supports: | |||
---------- | |||
## License | |||
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) Copyright (C) Apache Software Foundation | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra line, remove that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, the space line autoadd by vscode.😞
lastly, rename pull request title reference by https://github.com/apache/rocketmq/wiki/RIP-14-RocketMQ-Community-Operation-Conventions |
remember to squish commits to one |
…ffest file update rm README.MD~ rm README.md space lines:56-57
What is the purpose of the change
avoid
fatal error: concurrent map read and map write
Brief changelog
use sync.Map to save
localFileOffsetStore.OffsetTable
info.Verifying this change
go test . -v --run TestNewLocalFileOffsetStore
passgo test . -v --run TestLocalFileOffsetStore
pass