pub struct LambdaScheduledRecoveryResponse {
pub stale_markers_found: usize,
pub stale_markers_recovered: usize,
pub stale_markers_transient_errors: usize,
pub reclaimable_claims_found: usize,
pub reclaimable_claims_processed: usize,
pub errors: Vec<String>,
}Expand description
Summary returned from a single scheduled-recovery tick.
Emitted as the Lambda response so operators can wire CloudWatch
metrics off it (e.g. alert when stale_markers_transient_errors
exceeds a threshold). Field shape is camelCase to match AWS Lambda
response conventions.
Fields§
§stale_markers_found: usizeTotal stale markers read in this tick (pre-redispatch).
stale_markers_recovered: usizeMarkers whose redispatch completed (fan-out ran or task deleted).
stale_markers_transient_errors: usizeMarkers whose redispatch hit a transient storage error. The markers are retained for the next tick.
reclaimable_claims_found: usizeReclaimable claims read in this tick.
reclaimable_claims_processed: usizeClaims redispatched (fire-and-forget — error signal isn’t
plumbed back through redispatch_one).
errors: Vec<String>First few error strings surfaced during the sweep. Capped at
LambdaScheduledRecoveryHandler::ERROR_SAMPLE_LIMIT to keep
the response body bounded.
Trait Implementations§
Source§impl Clone for LambdaScheduledRecoveryResponse
impl Clone for LambdaScheduledRecoveryResponse
Source§fn clone(&self) -> LambdaScheduledRecoveryResponse
fn clone(&self) -> LambdaScheduledRecoveryResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more