[ISSUE #3467] Fail fast on loading files with error mappedFileSize

Co-authored-by: Jiang Haiting <jianghaiting@didichuxing.com>
This commit is contained in:
JiangHaiting
2021-11-08 10:27:01 +08:00
committed by GitHub
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 {