ymwneu opened a new issue, #9304: URL: https://github.com/apache/rocketmq/issues/9304
### 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 OS: CentOS 6.9 ### RocketMQ version branch: (develop|tag 5.3.1) version: 5.3.1 ### JDK Version JDK: 1.8.0_202 ### Describe the Bug In the ColdDataCheckService#isMsgInColdArea() method, when forcibly casting the consume queue to ConsumeQueue, an error will be thrown if its type is not ConsumeQueue. ### Steps to Reproduce If the type of the consume queue is RocksDBConsumeQueue, forcibly casting it to ConsumeQueue will result in an error. ### What Did You Expect to See? Regardless of the implementation of ConsumeQueue, this method can correctly parse it. ### What Did You See Instead? If the type of the consume queue is RocksDBConsumeQueue, forcibly casting it to ConsumeQueue will result in an error. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
