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§

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_PENDING_VERIFY
Global hard upper bound on the number of keys held in pending_verify.
MAX_PENDING_VERIFY_PER_PEER
Per-source hard cap on pending_verify entries attributed to a single hint_sender peer.