Skip to content

Fix gossip validation not detecting UUID mismatch on success#17

Merged
sargonas merged 3 commits into
mainfrom
peering-overhaul
Jan 12, 2026
Merged

Fix gossip validation not detecting UUID mismatch on success#17
sargonas merged 3 commits into
mainfrom
peering-overhaul

Conversation

@sargonas
Copy link
Copy Markdown
Owner

validateGossipSystems was ignoring the responding system's UUID after a successful ping. If a different system now lives at an address (e.g., old node replaced by new one), the stale gossip entry was incorrectly marked as "verified" instead of being removed.

validateGossipSystems was ignoring the responding system's UUID after
a successful ping. If a different system now lives at an address
(e.g., old node replaced by new one), the stale gossip entry was
incorrectly marked as "verified" instead of being removed.

Now properly checks respSystem.ID != sys.ID and removes stale entries.
@sargonas sargonas merged commit 7e74d6f into main Jan 12, 2026
1 check passed
@sargonas sargonas deleted the peering-overhaul branch January 13, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant