Skip to main content

Module forwarding

Module forwarding 

Source
Expand description

Forwarding snapshots and route publication. Spawn/claim publication takes the spawn transition, claim state/index, then forwarding, in that order. Bind commits read only the launch watch, never the spawn transition lock. No forwarding guard is held while awaiting a module. HELLO publication holds Registry before ForwardingTable::inner so an ACK cannot be observed before registry publication. Code holding inner must not take the registry lock, including through a callback.

Spawn authority: an authority change takes the spawn’s authority record state, then inner (see crate::spawn_authority). Code holding inner never takes a record’s authority state; it reads only the record’s immutable identity and the epochs and first-party marks published into spawn_epochs and spawn_marks.

Structs§

ForwardingTable
Dynamic forwarding state shared by the control plane and data-plane router.
ModuleEndpointId
Module connection identity used in forwarding keys.

Enums§

ForwardingError