Skip to main content

distribute

Function distribute 

Source
pub fn distribute(plan: &Plan, placement: &Placement) -> Plan
Expand description

Wraps the slices that run on another host in Plan::Remote, grouping as much as it can and descending only where a slice is spread across places. Idempotent; a plan with no hosts comes out unchanged.