pub struct BackfillConfig {
pub batch_size: usize,
pub max_concurrent: usize,
pub dual_write: bool,
pub target_query_threshold: f64,
pub rollback_window_secs: u64,
}Expand description
Configuration for the backfill coordinator.
Controls batch sizing, caller-managed concurrency, routing, and rollback timing. See docs/backfill.md for default values and policy semantics.
Fields§
§batch_size: usizeBatch size for backfill operations.
max_concurrent: usizeMaximum concurrent backfill batches.
dual_write: boolWhether new documents should be dual-written during migration.
target_query_threshold: f64Raw progress threshold at which query routing may choose the target model.
rollback_window_secs: u64Seconds to retain both write models after a completed cutover.
Trait Implementations§
Source§impl Clone for BackfillConfig
impl Clone for BackfillConfig
Source§fn clone(&self) -> BackfillConfig
fn clone(&self) -> BackfillConfig
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 BackfillConfig
impl Debug for BackfillConfig
Source§impl Default for BackfillConfig
impl Default for BackfillConfig
Source§impl<'de> Deserialize<'de> for BackfillConfig
impl<'de> Deserialize<'de> for BackfillConfig
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 BackfillConfig
impl RefUnwindSafe for BackfillConfig
impl Send for BackfillConfig
impl Sync for BackfillConfig
impl Unpin for BackfillConfig
impl UnsafeUnpin for BackfillConfig
impl UnwindSafe for BackfillConfig
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