Print the resume message after the snappy/crc scans

This commit is contained in:
Neil Macneale IV
2025-11-11 18:25:24 -08:00
parent 1a850a6282
commit e3c307c145

View File

@@ -115,7 +115,6 @@ func JournalInspect(journalPath string, seeRoots, seeChunks, crcScan, snapScan b
firstHealthy := false
if err = validateJournalRecord(recordBuf); err == nil {
if !healthyState {
logrus.Infof("Resumed healthy reads at offset %d", offset)
healthyState = true
firstHealthy = true
if suspectRegionStart != -1 {
@@ -130,6 +129,7 @@ func JournalInspect(journalPath string, seeRoots, seeChunks, crcScan, snapScan b
}
}
suspectRegionStart = -1
logrus.Infof("Resumed healthy reads at offset %d", offset)
}
rec, err := readJournalRecord(recordBuf)