CorruptJournal

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

runId

The run identifier that was looked up.

atSeq

The sequence number where the problem was detected (-1 if the read itself failed).

reason

Human-readable description of the problem.

Constructors

Link copied to clipboard
constructor(runId: RunId, atSeq: Long, reason: String)

Properties

Link copied to clipboard
val atSeq: Long
Link copied to clipboard
Link copied to clipboard