pub enum WalFlushStepOutcome {
NotNeeded,
Flushed {
manifest_head_seq: ChangeSeq,
},
AlreadyPublished {
attempted_seq: ChangeSeq,
current_manifest_no: ManifestNo,
},
RetriesExhausted {
observed_head_seq: ChangeSeq,
},
}Expand description
What the WAL-flush part of a maintenance pass did.
Variants§
NotNeeded
The tail was below the threshold, so there was nothing to flush.
Flushed
The step flushed the WAL tail and published the next current manifest.
AlreadyPublished
The current manifest already covered the captured WAL tail; this step published no manifest.
Fields
§
current_manifest_no: ManifestNoThe namespace’s current manifest number.
RetriesExhausted
Concurrent updates prevented every publication attempt.
Trait Implementations§
Source§impl Clone for WalFlushStepOutcome
impl Clone for WalFlushStepOutcome
Source§impl Debug for WalFlushStepOutcome
impl Debug for WalFlushStepOutcome
Source§impl<'de> Deserialize<'de> for WalFlushStepOutcome
impl<'de> Deserialize<'de> for WalFlushStepOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WalFlushStepOutcome
Source§impl PartialEq for WalFlushStepOutcome
impl PartialEq for WalFlushStepOutcome
Source§impl Serialize for WalFlushStepOutcome
impl Serialize for WalFlushStepOutcome
impl StructuralPartialEq for WalFlushStepOutcome
Auto Trait Implementations§
impl Freeze for WalFlushStepOutcome
impl RefUnwindSafe for WalFlushStepOutcome
impl Send for WalFlushStepOutcome
impl Sync for WalFlushStepOutcome
impl Unpin for WalFlushStepOutcome
impl UnsafeUnpin for WalFlushStepOutcome
impl UnwindSafe for WalFlushStepOutcome
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