pub enum ExecutorPrefillMaintenanceOutcome {
NoLongerPending,
RetryAdmission {
current: ExecutorAdmissionEpochs,
},
WaitForRelease {
current: ExecutorAdmissionEpochs,
wait_condition: CapacityWaitCondition,
pressure: DynamicBackingPressure,
},
Maintained {
current: ExecutorAdmissionEpochs,
pools_grown: usize,
allocated_bytes: u64,
pools_reclaimed: usize,
chunks_reclaimed: usize,
reclaimed_bytes: u64,
rebalance: Option<DynamicPoolRebalanceReceipt>,
},
}Expand description
Result of one bounded plan-runtime backing maintenance attempt.
Variants§
NoLongerPending
Cancellation won the race before the maintenance task consumed the retained deferral.
RetryAdmission
The physical allocator changed while maintenance was installing its wait predicate. The scheduler must clear the old backing deferral and perform one authoritative admission probe, even if publication of the corresponding capacity epoch is still in flight.
Fields
current: ExecutorAdmissionEpochsWaitForRelease
The requested backing is valid but cannot be installed while current device claims remain live. The scheduler must wait for release evidence rather than completing the request as an error.
Fields
current: ExecutorAdmissionEpochswait_condition: CapacityWaitConditionpressure: DynamicBackingPressureMaintained
The executor installed real backing and published the resulting capacity epoch.
Fields
current: ExecutorAdmissionEpochsrebalance: Option<DynamicPoolRebalanceReceipt>Exact allocator-issued rebalance receipt. The aggregate counters above remain for stable metrics and must reconcile with this value.
Trait Implementations§
Source§impl Clone for ExecutorPrefillMaintenanceOutcome
impl Clone for ExecutorPrefillMaintenanceOutcome
Source§fn clone(&self) -> ExecutorPrefillMaintenanceOutcome
fn clone(&self) -> ExecutorPrefillMaintenanceOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more