Skip to main content

upload_index

Function upload_index 

Source
fn upload_index(index: usize, objects: usize, workers: usize) -> usize
Expand description

Each worker owns a disjoint subset, including when object count is not a multiple of concurrency. Repeated uploads cannot overwrite another worker.