pub enum SnapshotReplayError<I, P, V, S> {
Initialization(I),
SnapshotValidation(V),
SnapshotState(S),
SnapshotRevision {
snapshot_revision: StreamRevision,
history_revision: StreamRevision,
},
Application(P),
}Expand description
English:
First failure during snapshot-assisted reconstruction; errors do not trigger fallback.
日本語:
スナップショットを用いた復元で最初に発生した失敗です。エラー時はフォールバックしません。
Variants§
Initialization(I)
English:
Creating initial state for full replay failed.
日本語:
全件再生のための初期状態の作成に失敗しました。
SnapshotValidation(V)
English:
The snapshot classification hook returned an error.
日本語:
スナップショット分類フックがエラーを返しました。
SnapshotState(S)
English:
Restoring the accepted snapshot failed.
日本語:
採用したスナップショットの復元に失敗しました。
SnapshotRevision
English:
An applicable snapshot’s tail could not be selected by StreamHistory::events_after.
This includes a snapshot ahead of history or an unrepresentable next index.
日本語:
採用可能なスナップショットの後続部分を StreamHistory::events_after で選べませんでした。
履歴より先のスナップショットや、表現できない次の添字が該当します。
Fields
snapshot_revision: StreamRevisionEnglish:
Revision carried by the accepted snapshot.
日本語:
採用したスナップショットが保持するリビジョンです。
history_revision: StreamRevisionEnglish:
Final revision of the supplied history.
日本語:
指定された履歴の最終リビジョンです。
Application(P)
English:
Applying an event from the selected history failed.
日本語:
選択された履歴のイベント適用に失敗しました。