lizhimins opened a new issue, #9544: URL: https://github.com/apache/rocketmq/issues/9544
### 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 Linux 5.19 ### RocketMQ version 5.3.3 ### JDK Version JDK11 ### Describe the Bug If the file length fails to be retrieved from the remote storage when initializing the segment, the file length in memory will be incorrectly set to -1. ### Steps to Reproduce If the file length fails to be obtained from the remote storage when initializing the segment ### What Did You Expect to See? If the length is incorrect, it will block. ### What Did You See Instead? Wrong length was obtained ### 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]
