Repository navigation
fix(hosting): nodes remember site records across restarts and keep short sites gossiped - #229
Merged
Merged
Conversation
…ort sites gossiped brongva sat at 'no such site' on gateway.c0mpute.com: dev2 got its record at 12:53:23, then restarted (auto-update) at 12:56 and forgot it, and only HOLDERS re-gossip records, so a site held by gossip-quiet nodes whose publisher has exited vanished from every node that restarted. - records.json next to the catalog: loaded (re-verified) at start, written when a new record arrives (dirty flag, per announce loop) and every records round, newest 20,000 kept - every node also re-gossips up to 50 known records it does not hold whose sites are under the target copy count, so the fill can still find them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan13 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #225 (merged before this commit landed). brongva vanished from gateway.c0mpute.com because dev2 forgot its record on an auto-update restart and only holders re-gossip records.
No version bump: master is already 0.3.5 (untagged); v0.3.5 gets tagged on this merge.
🤖 Generated with Claude Code