pub struct RetainedVerifiedActivatedAck {
pub acknowledgement: (StoreAckRef, StoreAck),
pub activating_commit: StoreBatchCommitRef,
}Expand description
The acknowledgement one commit activated, retained beside that commit.
One acknowledgement, not the chain behind it. A retained row describes its own commit, and an acknowledgement’s predecessors are described by the rows that retained them — each acknowledgement names its predecessor’s object, so contiguity follows from the rows in the same way a commit’s ancestry follows from the commits, without every row carrying a copy of everything before it.
Storing the chain here instead made a retained row grow with the history in front of it: on a two-device store where nearly every commit acknowledges, the row at sequence N held N acknowledgements, so the table grew with the square of the history. A field store reached 223 MB over 385 rows, and both applying a commit and reading the retained rows back paid for it.
Fields§
§acknowledgement: (StoreAckRef, StoreAck)§activating_commit: StoreBatchCommitRefImplementations§
Source§impl RetainedVerifiedActivatedAck
impl RetainedVerifiedActivatedAck
pub fn acknowledgement(&self) -> &(StoreAckRef, StoreAck)
Trait Implementations§
Source§impl Clone for RetainedVerifiedActivatedAck
impl Clone for RetainedVerifiedActivatedAck
Source§fn clone(&self) -> RetainedVerifiedActivatedAck
fn clone(&self) -> RetainedVerifiedActivatedAck
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RetainedVerifiedActivatedAck
impl Debug for RetainedVerifiedActivatedAck
Source§impl<'de> Deserialize<'de> for RetainedVerifiedActivatedAck
impl<'de> Deserialize<'de> for RetainedVerifiedActivatedAck
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>,
Source§impl PartialEq for RetainedVerifiedActivatedAck
impl PartialEq for RetainedVerifiedActivatedAck
Source§fn eq(&self, other: &RetainedVerifiedActivatedAck) -> bool
fn eq(&self, other: &RetainedVerifiedActivatedAck) -> bool
self and other values to be equal, and is used by ==.impl Eq for RetainedVerifiedActivatedAck
impl StructuralPartialEq for RetainedVerifiedActivatedAck
Auto Trait Implementations§
impl !Freeze for RetainedVerifiedActivatedAck
impl RefUnwindSafe for RetainedVerifiedActivatedAck
impl Send for RetainedVerifiedActivatedAck
impl Sync for RetainedVerifiedActivatedAck
impl Unpin for RetainedVerifiedActivatedAck
impl UnsafeUnpin for RetainedVerifiedActivatedAck
impl UnwindSafe for RetainedVerifiedActivatedAck
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.