pub struct RaftUncommittedAdmission {
pub max_uncommitted_bytes_per_group: Option<u64>,
}Expand description
Per-group admission that rejects new writes when the raft layer has not yet committed enough previously-submitted bytes. Independently configurable from the cold-side admission; intended to catch “replication lag” scenarios where hot bytes have not yet grown because nothing is committing.
Fields§
§max_uncommitted_bytes_per_group: Option<u64>Implementations§
Source§impl RaftUncommittedAdmission
impl RaftUncommittedAdmission
pub fn is_enabled(self) -> bool
Trait Implementations§
Source§impl Clone for RaftUncommittedAdmission
impl Clone for RaftUncommittedAdmission
Source§fn clone(&self) -> RaftUncommittedAdmission
fn clone(&self) -> RaftUncommittedAdmission
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 moreimpl Copy for RaftUncommittedAdmission
Source§impl Debug for RaftUncommittedAdmission
impl Debug for RaftUncommittedAdmission
Source§impl Default for RaftUncommittedAdmission
impl Default for RaftUncommittedAdmission
Source§fn default() -> RaftUncommittedAdmission
fn default() -> RaftUncommittedAdmission
Returns the “default value” for a type. Read more
impl Eq for RaftUncommittedAdmission
Source§impl PartialEq for RaftUncommittedAdmission
impl PartialEq for RaftUncommittedAdmission
impl StructuralPartialEq for RaftUncommittedAdmission
Auto Trait Implementations§
impl Freeze for RaftUncommittedAdmission
impl RefUnwindSafe for RaftUncommittedAdmission
impl Send for RaftUncommittedAdmission
impl Sync for RaftUncommittedAdmission
impl Unpin for RaftUncommittedAdmission
impl UnsafeUnpin for RaftUncommittedAdmission
impl UnwindSafe for RaftUncommittedAdmission
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