2c: relayed gossip is silently dropped (relay-only members don't converge) #40
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/yip#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Whole-branch review of milestone 2c (decentralized discovery, branch feat/discovery-2c). Non-blocking; convergence holds via direct/root gossip paths (which the netns tests exercise).
Problem
A
PacketType::Gossippayload that arrives via the relay (on_relayed→relayed_data→DataPlane::on_udp_datagram) hits the DataPlane's default arm and returnsOutcome::None— so a relay-reached peer never actually ingests gossip. No crash, and the mesh still converges for peers reachable directly or via the seed root, but a member reachable ONLY through the relay would not participate in gossip.Fix direction
Route a relayed
PacketType::Gossippayload toMembership::on_gossip(like the directon_udpgossip demux does), and relay-wrap the reply back through the relay to the originating member. Mirror the direct gossip demux's source-restriction (the relayed peer must be Established).Scope
Out of scope for 2c v1 (tested paths use direct/root gossip). Belongs with relay-path polish alongside the 2b relay follow-ups.