Skip to content

fix: forward HyParView joins to existing neighbors - #317

Merged
sakno merged 1 commit into
dotnet:developfrom
unsafePtr:fix/hyparview-forward-receiver
Nov 27, 2026
Merged

sakno merged 1 commit into
dotnet:developfrom
unsafePtr:fix/hyparview-forward-receiver

Conversation

@unsafePtr

@unsafePtr unsafePtr commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

When a node handles a new HyParView join, it calls ForwardJoinAsync with the newcomer as the receiver and an existing neighbor as the joined peer.
This reverses the intended announcement: existing neighbors should receive a message identifying the newcomer.

Correct the argument order in ProcessJoinAsync.
The new regression starts three peers using the existing in-memory transport and checks both the receiver and the announced peer.
It fails before the fix; all four HyParView tests pass afterward in the repository's Debug test configuration on .NET 10.

This change was prepared with AI assistance.
Please apply the required ai_assisted label; GitHub denied my label request because this account lacks permission.

@sakno sakno added Lib:Cluster DotNext.Net.Cluster library ai_assisted Bug or PR is produced partially or fully by the AI model (Codex, Claude, etc.) labels Nov 27, 2026
@sakno
sakno merged commit db973a2 into dotnet:develop Nov 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai_assisted Bug or PR is produced partially or fully by the AI model (Codex, Claude, etc.) Lib:Cluster DotNext.Net.Cluster library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants