Skip to main content

plan

Function plan 

Source
pub fn plan<H: BuildHasher>(
    scheduler: &StagedScheduler,
    bundle: &UploadBundle,
    held: &HashSet<String, H>,
    force: bool,
) -> PushPlan
Expand description

Plan a push for one bundle: prune to what server truth says is outstanding, then let the scheduler decide which of those tiers open now.

force ignores held and plans the whole ladder — the server still answers duplicate_blob for anything it holds, which resolves as a merge.