pub struct SystemParamsDiff {Show 16 fields
pub barrier_interval_ms: Option<u32>,
pub checkpoint_frequency: Option<u64>,
pub sstable_size_mb: Option<u32>,
pub parallel_compact_size_mb: Option<u32>,
pub block_size_kb: Option<u32>,
pub bloom_false_positive: Option<f64>,
pub state_store: Option<String>,
pub data_directory: Option<String>,
pub backup_storage_url: Option<String>,
pub backup_storage_directory: Option<String>,
pub max_concurrent_creating_streaming_jobs: Option<u32>,
pub pause_on_next_bootstrap: Option<bool>,
pub enable_tracing: Option<bool>,
pub use_new_object_prefix_strategy: Option<bool>,
pub license_key: Option<LicenseKey>,
pub time_travel_retention_ms: Option<u64>,
}
Expand description
The diff of the system params.
Fields that are changed are set to Some
, otherwise None
.
Fields§
§barrier_interval_ms: Option<u32>
The interval of periodic barrier.
checkpoint_frequency: Option<u64>
There will be a checkpoint for every n barriers.
sstable_size_mb: Option<u32>
Target size of the Sstable.
parallel_compact_size_mb: Option<u32>
The size of parallel task for one compact/flush job.
block_size_kb: Option<u32>
Size of each block in bytes in SST.
bloom_false_positive: Option<f64>
False positive probability of bloom filter.
state_store: Option<String>
URL for the state store
data_directory: Option<String>
Remote directory for storing data and metadata objects.
backup_storage_url: Option<String>
Remote storage url for storing snapshots.
backup_storage_directory: Option<String>
Remote directory for storing snapshots.
max_concurrent_creating_streaming_jobs: Option<u32>
Max number of concurrent creating streaming jobs.
pause_on_next_bootstrap: Option<bool>
Whether to pause all data sources on next bootstrap.
enable_tracing: Option<bool>
Whether to enable distributed tracing.
use_new_object_prefix_strategy: Option<bool>
Whether to split object prefix.
license_key: Option<LicenseKey>
The license key to activate enterprise features.
time_travel_retention_ms: Option<u64>
The data retention period for time travel.
Implementations§
source§impl SystemParamsDiff
impl SystemParamsDiff
sourcepub fn diff(prev: impl SystemParamsRead, curr: impl SystemParamsRead) -> Self
pub fn diff(prev: impl SystemParamsRead, curr: impl SystemParamsRead) -> Self
Create a diff between the given two system params.
sourcepub fn from_initial(initial: impl SystemParamsRead) -> Self
pub fn from_initial(initial: impl SystemParamsRead) -> Self
Create a diff from the given initial system params.
All fields will be set to Some
.
Trait Implementations§
source§impl Clone for SystemParamsDiff
impl Clone for SystemParamsDiff
source§fn clone(&self) -> SystemParamsDiff
fn clone(&self) -> SystemParamsDiff
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SystemParamsDiff
impl Debug for SystemParamsDiff
source§impl Default for SystemParamsDiff
impl Default for SystemParamsDiff
source§fn default() -> SystemParamsDiff
fn default() -> SystemParamsDiff
Auto Trait Implementations§
impl Freeze for SystemParamsDiff
impl RefUnwindSafe for SystemParamsDiff
impl Send for SystemParamsDiff
impl Sync for SystemParamsDiff
impl Unpin for SystemParamsDiff
impl UnwindSafe for SystemParamsDiff
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<M> MetricVecRelabelExt for M
impl<M> MetricVecRelabelExt for M
source§fn relabel(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level
.source§fn relabel_n(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
relabel_num: usize,
) -> RelabeledMetricVec<M>
fn relabel_n( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, relabel_num: usize, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level_relabel_n
.source§fn relabel_debug_1(
self,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel_debug_1( self, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
RelabeledMetricVec::with_metric_level_relabel_n
with metric_level
set to
MetricLevel::Debug
and relabel_num
set to 1.