OutcomeUnknown

data class OutcomeUnknown<EVENT>(val preparedAppend: PreparedAppend<EVENT>, val cause: Throwable) : AppendResult.Failure<EVENT> (source)

The store cannot determine whether the append committed, commonly because communication failed after the store may have accepted the write but before the client received a definitive acknowledgement.

preparedAppend retains the exact expected version, event IDs, bytes, ordering, and metadata needed for safe recovery. The caller must retain it and pass it to aggregate recovery rather than handling the original command again. A later recovery may still return OutcomeUnknown if the store cannot establish the result.

Constructors

Link copied to clipboard
constructor(preparedAppend: PreparedAppend<EVENT>, cause: Throwable)

Properties

Link copied to clipboard
Link copied to clipboard