rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Bug] Fixed semaphore exception that failed halfway in the case of asynchronous message sending back pressure

Open 3424672656 opened this issue 1 year ago • 0 comments

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

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

3424672656 avatar May 15 '24 02:05 3424672656