Skip to main content

Module scheduling

Module scheduling 

Source
Expand description

Scheduling and queue management (Section 12).

Manages PendingVerify, FetchQueue, and InFlightFetch queues for the replication pipeline. Each key progresses through at most one queue at a time, with strict dedup across all three stages.

Structs§

DeferralOutcome
Result of deferring a pending key to a later verification round.
InFlightEntry
An in-flight fetch entry tracking an active download.
ReplicationQueues
Central queue manager for the replication pipeline.

Enums§

AdmissionResult
Outcome of ReplicationQueues::add_pending_verify.

Constants§

MAX_FETCH_QUEUE
Hard upper bound on the number of keys held in fetch_queue.
MAX_HINT_SOURCES_PER_KEY
Maximum distinct hint sources retained per pending key.
MAX_PENDING_VERIFY
Global hard upper bound on the number of keys held in pending_verify.