pub struct WalFloorState {
pub namespace_id: NamespaceId,
pub floor_seq: ChangeSeq,
pub verified_at_ms: u64,
pub updated_at_ms: u64,
}Expand description
Lower bound of retained WAL/change history: the symmetrical pair to
wal/head.json.
Updated only by monotonic compare-and-swap on its own etag; never consulted for live commit visibility. Missing, stale, or unverifiable floors mean “retain more history”, never less. The floor is necessary but not sufficient for deletion: below-floor objects are candidates, and actual deletion additionally requires delete-time re-verification (format spec, “Garbage collection”).
Fields§
§namespace_id: NamespaceIdNamespace whose retained history this floor bounds.
floor_seq: ChangeSeqEarliest sequence at which incremental replay remains promised.
verified_at_ms: u64Unix-millisecond wall-clock time when the referenced manifest basis was last verified.
updated_at_ms: u64Unix-millisecond wall-clock time stamped by the successful floor update attempt.
Trait Implementations§
Source§impl Clone for WalFloorState
impl Clone for WalFloorState
Source§fn clone(&self) -> WalFloorState
fn clone(&self) -> WalFloorState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WalFloorState
impl Debug for WalFloorState
Source§impl<'de> Deserialize<'de> for WalFloorState
impl<'de> Deserialize<'de> for WalFloorState
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 WalFloorState
Source§impl PartialEq for WalFloorState
impl PartialEq for WalFloorState
Source§impl Serialize for WalFloorState
impl Serialize for WalFloorState
impl StructuralPartialEq for WalFloorState
Auto Trait Implementations§
impl Freeze for WalFloorState
impl RefUnwindSafe for WalFloorState
impl Send for WalFloorState
impl Sync for WalFloorState
impl Unpin for WalFloorState
impl UnsafeUnpin for WalFloorState
impl UnwindSafe for WalFloorState
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