pub struct TierConfig {
pub root_folder: PathBuf,
pub partition_granularity: PartitionGranularity,
pub hold: u32,
pub gather: u32,
pub max_open_writers: Option<usize>,
}Fields§
§root_folder: PathBuf§partition_granularity: PartitionGranularity§hold: u32Number of partitions to hold before ETL moves data out.
gather: u32Number of partitions to gather (move out) at once.
max_open_writers: Option<usize>Per-tier cap on open BufWriter file handles. Only
consulted when StorageConfig::max_open_writers_total is
None; otherwise all tiers share the global budget. 0
disables the cap (lifts to usize::MAX); None falls back
to a tier-appropriate default (STS: 512, MTS/LTS: 64 — STS
gets the bulk because it’s the live ingest path).
Trait Implementations§
Source§impl Clone for TierConfig
impl Clone for TierConfig
Source§fn clone(&self) -> TierConfig
fn clone(&self) -> TierConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TierConfig
impl Debug for TierConfig
Source§impl<'de> Deserialize<'de> for TierConfig
impl<'de> Deserialize<'de> for TierConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TierConfig
impl RefUnwindSafe for TierConfig
impl Send for TierConfig
impl Sync for TierConfig
impl Unpin for TierConfig
impl UnsafeUnpin for TierConfig
impl UnwindSafe for TierConfig
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
Mutably borrows from an owned value. Read more