Corrupt Journal
data class CorruptJournal(val runId: RunId, val atSeq: Long, val reason: String) : ResumeOutcome<Nothing, Nothing>
Journal integrity is broken and the run cannot be safely resumed.
Causes:
Sequence gap (entries are missing — possible partial write or corruption).
Codec decode failure (a stored payload cannot be decoded).
StateReducer threw an exception during replay.
Journal
read()itself returned an error.
Parameters
run Id
The run identifier that was looked up.
at Seq
The sequence number where the problem was detected (-1 if the read itself failed).
reason
Human-readable description of the problem.