pub enum DagError {
Show 14 variants
CycleDetected(String),
DisconnectedNode(String),
NodeNotFound(String),
DuplicateNode(String),
SchemaMismatch {
source_node: String,
target_node: String,
reason: String,
},
FanOutLimitExceeded {
node: String,
count: usize,
max: usize,
},
EmptyDag,
BackpressureFull,
CheckpointInProgress(u64),
NoCheckpointInProgress,
CheckpointIncomplete {
pending: usize,
},
CheckpointNotFound,
RestoreFailed {
node_id: String,
reason: String,
},
BaseTableSchemaNotFound(String),
}Expand description
Errors that can occur during DAG construction and validation.
Variants§
CycleDetected(String)
The DAG contains a cycle involving the named node.
DisconnectedNode(String)
A node has no inputs and no outputs (and is not a source or sink).
NodeNotFound(String)
An edge references a node that does not exist.
DuplicateNode(String)
A node with the same name already exists.
SchemaMismatch
Connected edges have incompatible schemas.
Fields
FanOutLimitExceeded
A node exceeds the maximum fan-out limit.
Fields
EmptyDag
The DAG is empty (no nodes).
BackpressureFull
A shared stage multicast buffer is full (backpressure).
CheckpointInProgress(u64)
A checkpoint barrier was triggered while another checkpoint is in progress.
NoCheckpointInProgress
Attempted to finalize a checkpoint when none is in progress.
CheckpointIncomplete
Attempted to finalize a checkpoint before all nodes have reported.
CheckpointNotFound
No checkpoint snapshots are available for recovery.
RestoreFailed
An operator failed to restore from a checkpoint snapshot.
BaseTableSchemaNotFound(String)
A base table schema was not provided for DAG construction from MvRegistry.
Trait Implementations§
Source§impl Error for DagError
impl Error for DagError
1.30.0 · 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
Auto Trait Implementations§
impl Freeze for DagError
impl RefUnwindSafe for DagError
impl Send for DagError
impl Sync for DagError
impl Unpin for DagError
impl UnwindSafe for DagError
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.