Expand description
Cross-node shuffle transport over Tonic gRPC client-streaming.
A leading Hello binds each stream to certified process incarnations and an
assignment. Per-peer and per-node byte admission propagates backpressure to
the HTTP/2 stream.
Structs§
- Received
Batch - A decoded shuffle batch together with the memory admission charged for its source IPC payload.
- Received
Shuffle - A received shuffle message whose decoded memory remains admitted until the envelope is dropped. Consumers retain it while processing shallow clones of the message or its batch.
- Shuffle
Batch Admission - Opaque ownership of the memory admission charged to a decoded shuffle batch. The charge is released when the last clone is dropped.
- Shuffle
Receiver - Inbound side of the shuffle fabric: a Tonic
ShuffleTransportserver that surfaces every received frame, attributed to its peer, on the bounded queue. - Shuffle
Sender - Lazy pool of ordered streams per peer.
Constants§
- SHUFFLE_
ADDR_ KEY - Gossip KV key under which a receiver publishes its listener address for peer discovery.
Functions§
- is_
scope_ cancelled - Whether an outbound shuffle operation was cancelled by an assignment or recovery scope transition. Generic connection cancellation is deliberately not classified as a scope change.
Type Aliases§
- Shuffle
Peer Id - Peer identifier on the wire; matches
cluster::discovery::NodeId’s inner type.