pub struct SstInvalidationFlags { /* private fields */ }Expand description
Flags set from RocksDB flush/compaction callbacks without taking a mutex.
Implementations§
Source§impl SstInvalidationFlags
impl SstInvalidationFlags
Sourcepub fn mark_flush(&self)
pub fn mark_flush(&self)
Flush completed: live SST set changed and the aside (flushing) is in those SSTs.
Sourcepub fn mark_compaction(&self)
pub fn mark_compaction(&self)
Compaction completed: live SST set changed; memtable is unrelated.
Sourcepub fn sealed_stale(&self) -> bool
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.
Sourcepub fn mark_catalog_flush(&self)
pub fn mark_catalog_flush(&self)
Catalog CF flush completed: live SST set changed and the catalog aside is in those SSTs.
Sourcepub fn mark_temporal_flush(&self)
pub fn mark_temporal_flush(&self)
Temporal CF flush completed: live SST set changed and the temporal aside is in those SSTs.
Sourcepub fn mark_geo_flush(&self)
pub fn mark_geo_flush(&self)
Geo CF flush completed: live SST set changed and the geo aside is in those SSTs.
Sourcepub fn mark_sealed_stale(&self)
pub fn mark_sealed_stale(&self)
Mark sealed stale (RocksDB open: first stats RPC must reload live SST blobs).
Sourcepub fn take_sealed_stale(&self) -> bool
pub fn take_sealed_stale(&self) -> bool
Take the stale bit. true means the next stats RPC must reload SST blobs.
Sourcepub fn take_open_absorbed(&self) -> bool
pub fn take_open_absorbed(&self) -> bool
Take the absorbed bit. true means flushing must be dropped after reload.
Sourcepub fn take_catalog_absorbed(&self) -> bool
pub fn take_catalog_absorbed(&self) -> bool
Take the catalog absorbed bit. true means catalog_flushing must be dropped after reload.
Sourcepub fn take_temporal_absorbed(&self) -> bool
pub fn take_temporal_absorbed(&self) -> bool
Take the temporal absorbed bit. true means temporal_flushing must be dropped after reload.
Sourcepub fn take_geo_absorbed(&self) -> bool
pub fn take_geo_absorbed(&self) -> bool
Take the geo absorbed bit. true means geo_flushing must be dropped after reload.
Sourcepub fn flush_event_count(&self) -> u64
pub fn flush_event_count(&self) -> u64
Completed flush jobs observed by the event listener.
Sourcepub fn compaction_event_count(&self) -> u64
pub fn compaction_event_count(&self) -> u64
Completed compaction jobs observed by the event listener.