feiquan123 opened a new pull request #550:
URL: https://github.com/apache/rocketmq-client-go/pull/550


   ## 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` pass
   `go test . -v --run TestLocalFileOffsetStore` pass
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to