Skip to main content

SstInvalidationFlags

Struct SstInvalidationFlags 

Source
pub struct SstInvalidationFlags { /* private fields */ }
Expand description

Flags set from RocksDB flush/compaction callbacks without taking a mutex.

Implementations§

Source§

impl SstInvalidationFlags

Source

pub fn new() -> Self

Both flags clear (sealed is considered valid / empty).

Source

pub fn mark_flush(&self)

Flush completed: live SST set changed and the aside (flushing) is in those SSTs.

Source

pub fn mark_compaction(&self)

Compaction completed: live SST set changed; memtable is unrelated.

Source

pub fn sealed_stale(&self) -> bool

true from open until the first sealed-profile reload: the live SST set changed (or was never read), so the sealed contribution is unknown. Read-side consumers that must not under-estimate (the scan-dispatch gate) dispatch while this is set.

Source

pub fn mark_catalog_flush(&self)

Catalog CF flush completed: live SST set changed and the catalog aside is in those SSTs.

Source

pub fn mark_temporal_flush(&self)

Temporal CF flush completed: live SST set changed and the temporal aside is in those SSTs.

Source

pub fn mark_geo_flush(&self)

Geo CF flush completed: live SST set changed and the geo aside is in those SSTs.

Source

pub fn mark_sealed_stale(&self)

Mark sealed stale (RocksDB open: first stats RPC must reload live SST blobs).

Source

pub fn take_sealed_stale(&self) -> bool

Take the stale bit. true means the next stats RPC must reload SST blobs.

Source

pub fn take_open_absorbed(&self) -> bool

Take the absorbed bit. true means flushing must be dropped after reload.

Source

pub fn take_catalog_absorbed(&self) -> bool

Take the catalog absorbed bit. true means catalog_flushing must be dropped after reload.

Source

pub fn take_temporal_absorbed(&self) -> bool

Take the temporal absorbed bit. true means temporal_flushing must be dropped after reload.

Source

pub fn take_geo_absorbed(&self) -> bool

Take the geo absorbed bit. true means geo_flushing must be dropped after reload.

Source

pub fn flush_event_count(&self) -> u64

Completed flush jobs observed by the event listener.

Source

pub fn compaction_event_count(&self) -> u64

Completed compaction jobs observed by the event listener.

Trait Implementations§

Source§

impl Debug for SstInvalidationFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SstInvalidationFlags

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,