rocketmq
rocketmq copied to clipboard
[Bug] Fixed semaphore exception that failed halfway in the case of asynchronous message sending back pressure
Before Creating the Bug Report
-
[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.
-
[X] I have searched the GitHub Issues and GitHub 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
Centos
RocketMQ version
develop
JDK Version
11
Describe the Bug
When asynchronously sending messages, if num is obtained but size is not obtained under the back pressure control, num cannot be released and the sending rate is affected.
Steps to Reproduce
null
What Did You Expect to See?
When asynchronously sending messages, if num is obtained but size is not obtained under the back pressure control,num can be released, which affects the sending rate.
What Did You See Instead?
null
Additional Context
No response