You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "RongtongJin (via GitHub)" <gi...@apache.org> on 2024/07/19 02:53:41 UTC
[I] [Bug] Deleting ConsumeQueue files may cause JVM crashes [rocketmq]
RongtongJin opened a new issue, #8405:
URL: https://github.com/apache/rocketmq/issues/8405
### 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
All platform
### RocketMQ version
4.9.3 ~ lastest, after #3657
### JDK Version
All versions
### Describe the Bug
When topics are created and deleted frequently, a JVM crash occurred. Analysis revealed that when a topic is deleted, the file is unmapped. During this time, the ReputMessageService dispatches the consumeQueue and writes to the mmap file, which may cause the JVM to crash.
### Steps to Reproduce
Start the broker
Start the producer to send continuously
While sending, use the admin to delete the topic
Finally, the broker crashes, and the exception stack trace is consistent with the one online


### What Did You Expect to See?
No JVM crash
### What Did You See Instead?
JVM crash
### 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-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Deleting ConsumeQueue files may cause JVM crashes [rocketmq]
Posted by "caigy (via GitHub)" <gi...@apache.org>.
caigy closed issue #8405: [Bug] Deleting ConsumeQueue files may cause JVM crashes
URL: https://github.com/apache/rocketmq/issues/8405
--
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-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org