#[non_exhaustive]pub enum ReadyNodeRecoveryError {
Show 20 variants
FenceTenantMismatch,
FenceRunMismatch,
Activation {
source: NodeActivationError,
},
UnexpectedResult {
node_id: NodeId,
},
DuplicateResult {
node_id: NodeId,
},
UnexpectedAttempt {
node_id: NodeId,
},
AttemptHistory {
node_id: NodeId,
source: NodeAttemptHistoryError,
},
AttemptLimitExceeded {
node_id: NodeId,
maximum: usize,
},
CurrentFenceBehindHistory {
node_id: NodeId,
},
CurrentFenceConflict {
node_id: NodeId,
},
CurrentFenceAttemptReused {
node_id: NodeId,
},
SucceededWithoutResult {
node_id: NodeId,
},
ResultAttemptMismatch {
node_id: NodeId,
},
UnsupportedRetryAdvice {
node_id: NodeId,
},
RetryNotBeforeOutOfRange {
node_id: NodeId,
},
ObservationTenantMismatch,
ObservationRunMismatch,
ObservationBeforeCheckpoint,
ObservationBeforeEvidence,
ObservationClockRegression,
}Expand description
Invalid or contradictory inputs to deterministic ready-node recovery.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FenceTenantMismatch
The live worker fence crossed the checkpoint tenant boundary.
FenceRunMismatch
The live worker fence named another run.
Activation
Canonical activation derivation failed.
Fields
source: NodeActivationErrorExact activation construction failure.
UnexpectedResult
A pending result was outside the exact canonical ready-activation set.
DuplicateResult
A streamed recovery result repeated one logical activation.
UnexpectedAttempt
A physical attempt was outside the exact canonical activation set.
AttemptHistory
One activation’s physical-attempt history was contradictory.
Fields
source: NodeAttemptHistoryErrorExact history invariant failure.
AttemptLimitExceeded
One logical activation exceeded the hard recovery history ceiling.
CurrentFenceBehindHistory
Durable history contains a worker epoch newer than the claimed fence.
CurrentFenceConflict
The same fencing epoch names a different worker attempt.
CurrentFenceAttemptReused
A higher worker epoch improperly reused an earlier worker attempt ID.
SucceededWithoutResult
A successful attempt exists without its required immutable result.
ResultAttemptMismatch
The successful attempt and observed immutable result disagree.
UnsupportedRetryAdvice
Node-attempt failure contained a retry class forbidden by its contract.
RetryNotBeforeOutOfRange
Safe-after arithmetic exceeded the canonical timestamp range.
ObservationTenantMismatch
The final journal observation crossed the checkpoint tenant boundary.
ObservationRunMismatch
The final journal observation named another run.
ObservationBeforeCheckpoint
The final journal observation preceded the checkpoint anchor.
ObservationBeforeEvidence
The final journal observation preceded a streamed result or attempt.
ObservationClockRegression
The database clock observation preceded the verified journal head.
Trait Implementations§
Source§impl Clone for ReadyNodeRecoveryError
impl Clone for ReadyNodeRecoveryError
Source§impl Debug for ReadyNodeRecoveryError
impl Debug for ReadyNodeRecoveryError
Source§impl Display for ReadyNodeRecoveryError
impl Display for ReadyNodeRecoveryError
impl Eq for ReadyNodeRecoveryError
Source§impl Error for ReadyNodeRecoveryError
impl Error for ReadyNodeRecoveryError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()