pub struct SlatedbKvConfig {
pub checkpoint_interval: Option<u64>,
pub close_deadline: Option<u64>,
}Expand description
[serve.kv.slatedb] — control-plane SlateDB KV durability knobs (v0.9.0 KV-recovery). Both are
backstops/tuning: the crown-jewel per-write frontier-sync (C2) is unconditional and independent of
these. Absent ⇒ both defaults apply (checkpoint cadence ON, generous close budget). (v0.12.0 UX-C3:
MOVED here from the [serve.kv] top level so they do not appear to apply under a non-SlateDB
backend; with deny_unknown_fields a pre-v0.12.0 top-level knob now fails loud rather than
silently misleading.)
Fields§
§checkpoint_interval: Option<u64>Periodic checkpoint cadence, seconds. Unset ⇒ DEFAULT_KV_CHECKPOINT_INTERVAL_SECS (ON).
0 DISABLES the cadence (the crown-jewel per-write frontier-sync still runs; only the
backstop that bounds the loss window for derived/relaxed writes is off).
close_deadline: Option<u64>Graceful drain+close budget, seconds. Unset ⇒ DEFAULT_KV_CLOSE_DEADLINE_SECS. 0 is
rejected up to the default (a zero budget would abandon every close, guaranteeing a torn tail).
Trait Implementations§
Source§impl Clone for SlatedbKvConfig
impl Clone for SlatedbKvConfig
Source§impl Debug for SlatedbKvConfig
impl Debug for SlatedbKvConfig
Source§impl Default for SlatedbKvConfig
impl Default for SlatedbKvConfig
Source§impl<'de> Deserialize<'de> for SlatedbKvConfigwhere
SlatedbKvConfig: Default,
impl<'de> Deserialize<'de> for SlatedbKvConfigwhere
SlatedbKvConfig: Default,
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>,
Auto Trait Implementations§
impl Freeze for SlatedbKvConfig
impl RefUnwindSafe for SlatedbKvConfig
impl Send for SlatedbKvConfig
impl Sync for SlatedbKvConfig
impl Unpin for SlatedbKvConfig
impl UnsafeUnpin for SlatedbKvConfig
impl UnwindSafe for SlatedbKvConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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