gaoyf opened a new issue, #9119:
URL: https://github.com/apache/rocketmq/issues/9119

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   OS: CentOS 6.9
   
   ### RocketMQ version
   
   branch: (develop|tag 5.3.1) version: 5.3.1
   
   ### JDK Version
   
   JDK: 1.8.0_202
   
   ### Describe the Bug
   
   NettyRemotingAbstract.invokeAsyncImpl should handle raw exception instead of 
CompletionException:
   
![image](https://github.com/user-attachments/assets/577964cc-1334-4950-84de-4d646beee6a4)
   
   Because there are a lot of codes using raw exception for judging, such as: 
[MQClientAPIImpl](https://github.com/apache/rocketmq/blob/release-5.3.1/client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java#L738),
 
[DefaultMQPushConsumerImpl](https://github.com/apache/rocketmq/blob/release-5.3.1/client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java#L438).
   [](url)[](url)
   
   ### Steps to Reproduce
   
   
![image](https://github.com/user-attachments/assets/426602cf-30d7-4c69-95f6-db48641052fa)
   Raw exception will be wrap by CompletionException when execute 
future.completeExceptionally(exception).
   
   ### What Did You Expect to See?
   
   Wrapped exception: CompletionException.
   
   ### What Did You See Instead?
   
   Raw exception.
   
   ### Additional Context
   
   _No response_


-- 
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-unsubscr...@rocketmq.apache.org.apache.org

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

Reply via email to