pub enum EpochTransitionError {
Store(StoreError),
EpochUnavailable {
target: EpochIdentity,
},
IncompleteEpoch {
target: EpochIdentity,
missing_documents: usize,
unexpected_documents: usize,
},
MissingDocumentIdentity {
epoch: EpochId,
segment_id: SegmentId,
row: u32,
},
EmbeddingEpochUnavailable {
target: EpochId,
},
PublishedEpoch {
target: EpochId,
},
UnsealedWrites {
active_rows: usize,
absorbed_through: u64,
durable_end: u64,
},
GraphEpochTransition,
ReclaimedBytesOverflow,
}Expand description
Typed rejection from alias switching or explicit epoch reclamation.
Variants§
Store(StoreError)
Store lifecycle, persistence, or filesystem work failed.
The requested alias is not a registered epoch with retained segments.
IncompleteEpoch
The target epoch does not contain exactly the published live revisions.
Fields
§
target: EpochIdentityAlias that was refused before the manifest commit point.
MissingDocumentIdentity
A live epoch row lacks the stable document identity needed for completeness checks.
Fields
No retained segment belongs to the requested embedding epoch.
PublishedEpoch
The published epoch cannot be dropped while queries name it.
UnsealedWrites
A transition was attempted before the active WAL state was sealed.
Fields
GraphEpochTransition
Graph catalogs cannot yet carry an epoch alias switch or epoch drop.
ReclaimedBytesOverflow
Summing the reclaimed segment bytes exceeded u64.
Trait Implementations§
Source§impl Debug for EpochTransitionError
impl Debug for EpochTransitionError
Source§impl Display for EpochTransitionError
impl Display for EpochTransitionError
Source§impl Error for EpochTransitionError
impl Error for EpochTransitionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<StoreError> for EpochTransitionError
impl From<StoreError> for EpochTransitionError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EpochTransitionError
impl !UnwindSafe for EpochTransitionError
impl Freeze for EpochTransitionError
impl Send for EpochTransitionError
impl Sync for EpochTransitionError
impl Unpin for EpochTransitionError
impl UnsafeUnpin for EpochTransitionError
Blanket Implementations§
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
Mutably borrows from an owned value. Read more