CorruptLogException
class CorruptLogException(message: String, val file: String, val offset: Long = -1, cause: Throwable? = null) : StoreException
The write-ahead log cannot be read as one this implementation wrote.
Raised for a bad checksum with intact data behind it, a gap in the sequence numbers, a record whose contents contradict its own lengths, and — under LogRecoveryMode.STRICT — any unreadable trailing bytes at all.
A torn tail, which is what an interrupted write leaves behind, is not corruption: those bytes were never acknowledged to anyone. See LogRecoveryMode.