You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "wgdzlh (via GitHub)" <gi...@apache.org> on 2023/03/31 16:24:08 UTC

[GitHub] [rocketmq-client-go] wgdzlh opened a new issue, #1020: Missing else and return; illegal mutex copy

wgdzlh opened a new issue, #1020:
URL: https://github.com/apache/rocketmq-client-go/issues/1020

   **BUG REPORT**  
   1. When handle interceptor, we should put ordinary call of sendAsync into else block:
   https://github.com/apache/rocketmq-client-go/blob/6c77b6792c224cff2f3f971fc44d4a7ab0d8a29e/producer/producer.go#L256
   2. Miss return in sendAsync callback when encounter error, which may lead to duplicate callback:
   https://github.com/apache/rocketmq-client-go/blob/6c77b6792c224cff2f3f971fc44d4a7ab0d8a29e/producer/producer.go#L376
   3. There is a Mutex in Message, so it cannot be copied:
   https://github.com/apache/rocketmq-client-go/blob/6c77b6792c224cff2f3f971fc44d4a7ab0d8a29e/producer/producer.go#L279


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

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org