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] Restart broker failed while load index files. #9030

Open
3 tasks done
hexueyuan opened this issue Dec 6, 2024 · 0 comments
Open
3 tasks done

[Bug] Restart broker failed while load index files. #9030

hexueyuan opened this issue Dec 6, 2024 · 0 comments

Comments

@hexueyuan
Copy link

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

CentOS 7.5

RocketMQ version

4.9.8

JDK Version

openjdk version "21.0.2" 2024-01-16

Describe the Bug

I used the RocketMQ environment compiled with JDK21. After running for a while, I restarted the Broker and the Broker could not be started successfully due to the following error. From the log analysis, it was because these packages did not show the addition of the --add-opens parameter, so it caused an exception when running in a higher version of the JDK environment.
image

Steps to Reproduce

This can't be reproduced every time. After running the Broker compiled with JDK21 for a while, there is a probability that this error will be reported when restarting the Broker.

What Did You Expect to See?

Broker can be started successfully.

What Did You See Instead?

Broker startup failed.

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant