mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
[ISSUE #3467] Fail fast on loading files with error mappedFileSize
Co-authored-by: Jiang Haiting <jianghaiting@didichuxing.com>
This commit is contained in:
co-authored by
Jiang Haiting
parent
a51598dea5
commit
7b05208618
@@ -162,8 +162,8 @@ public class MappedFileQueue {
|
||||
for (File file : files) {
|
||||
if (file.length() != this.mappedFileSize) {
|
||||
log.warn(file + "\t" + file.length()
|
||||
+ " length not matched message store config value, ignore it");
|
||||
return true;
|
||||
+ " length not matched message store config value, please check it manually");
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user