domyway opened a new issue, #8859: URL: https://github.com/apache/rocketmq/issues/8859
### 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 centos8 local ssd ### RocketMQ version 5.1.4 ### JDK Version 1.8 ### Describe the Bug The configured directories are: /data, /data2, /data3, /data4. After a long period of pressure testing, we found that in different directories, there are commitlog files with the same name. One of these commitlog files appears to be empty, but the filenames are identical. Is this a bug, and is there any risk associated with it? If the process restarts, and duplicate commitlog files are loaded, could this also pose a risk? As for code analysis, we're unsure if it's correct: In MultiPathMappedFileQueue.java, this file is used for creating files across multiple paths. In the tryCreateMappedFile implementation, paths where the disk usage is high (85%) will be filtered out, and new commitlog files will not be created in those paths. However, it is possible that during a previous create map file operation, the path was already added to nextNextFilePath for pre-creation. If the paths change in the next cycle, a new commitlog will be created in a different path as the actual commitlog, while the previously pre-created file will be unused and essentially a "fake" file. ### Steps to Reproduce set storePathCommitLog=/data,/data1,/data2,/data3 and just continue produce ### What Did You Expect to See? commitlog will not be the same name ### What Did You See Instead? none ### 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-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org