Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The "send" method blocked on log.warn for a long time #6792

Closed
3 tasks done
DL1231 opened this issue May 22, 2023 · 0 comments · Fixed by #6793
Closed
3 tasks done

[Bug] The "send" method blocked on log.warn for a long time #6792

DL1231 opened this issue May 22, 2023 · 0 comments · Fixed by #6793
Labels

Comments

@DL1231
Copy link
Contributor

DL1231 commented May 22, 2023

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

Windows10

RocketMQ version

branch: develop

JDK Version

OpenJDK 1.8

Describe the Bug

When sending messages synchronously with a relatively large message body and a high likelihood of exceptions, the "send" method may block for a long time on log.warn.
image

Steps to Reproduce

  1. Start a producer
  2. Produce message synchronously with a relatively large message body

What Did You Expect to See?

The "send" method returns normally.

What Did You See Instead?

The "send" method blocked on log.warn for a long time

Additional Context

No response

@DL1231 DL1231 changed the title [Bug] Bug title [Bug] The "send" method block for a long time on log.warn. May 22, 2023
@DL1231 DL1231 changed the title [Bug] The "send" method block for a long time on log.warn. [Bug] The "send" method block for a long time on log.warn May 22, 2023
@DL1231 DL1231 changed the title [Bug] The "send" method block for a long time on log.warn [Bug] The "send" method blocked on log.warn for a long time May 22, 2023
DL1231 pushed a commit to DL1231/rocketmq that referenced this issue May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant