Expand description
Fan-out helpers for array distributed operations.
Two entry points:
fan_out— broadcast one request to all listed shards (slice, agg, delete, surrogate scan).fan_out_partitioned— send a different payload to each shard (used bycoord_putwhere cells are routed by Hilbert prefix).
Both functions dispatch concurrently via FuturesUnordered, apply a
per-shard tokio::time::timeout, and wrap each call in the cluster
CircuitBreaker. Any shard failure is propagated as Err — partial
results are not silently dropped.
Structs§
- FanOut
Params - Parameters governing a single fan-out round.
- FanOut
Partitioned Params - Parameters for a partitioned fan-out where each shard receives a
different payload.
per_shardentries are(vshard_id, payload_bytes).
Functions§
- fan_out
- Send
req_bytesto every shard listed inparamsand collect responses. - fan_
out_ partitioned - Send a distinct payload to each shard and collect responses.