pub struct SearchProjectionChangeBatchProbe {
pub start_commit_epoch: u64,
pub operation_count: usize,
pub complete_through_commit_epoch: Option<u64>,
pub source_commit_epoch: u64,
pub covers_source: bool,
}Expand description
The next change batch bounded search projection catch-up would select, measured without hydrating or publishing anything.
covers_source is the condition under which a catch-up with the same
per-batch change budget can publish: when it is false, the batch is a
prefix ending before the source head and catch-up refuses it with
HawDBError::SearchProjectionPrefixBehindSource. Probe again with a
larger budget (at least operation_count of a covering probe), or
re-prepare through the staged registered-consumer path.
Fields§
§start_commit_epoch: u64The projection watermark the batch starts after.
operation_count: usizeChangefeed operations in the selected batch.
complete_through_commit_epoch: Option<u64>The last source commit the batch covers completely.
source_commit_epoch: u64The graph commit epoch observed after selecting the batch.
covers_source: boolWhether the batch covers every commit through source_commit_epoch.
Trait Implementations§
impl Copy for SearchProjectionChangeBatchProbe
impl Eq for SearchProjectionChangeBatchProbe
impl StructuralPartialEq for SearchProjectionChangeBatchProbe
Auto Trait Implementations§
impl Forget for SearchProjectionChangeBatchProbe
impl Freeze for SearchProjectionChangeBatchProbe
impl Move for SearchProjectionChangeBatchProbe
impl RefUnwindSafe for SearchProjectionChangeBatchProbe
impl Send for SearchProjectionChangeBatchProbe
impl Sync for SearchProjectionChangeBatchProbe
impl Unpin for SearchProjectionChangeBatchProbe
impl UnsafeUnpin for SearchProjectionChangeBatchProbe
impl UnwindSafe for SearchProjectionChangeBatchProbe
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more