Repository navigation
fix(hosting): full nodes stop blocking copies, roomiest disks first, records survive restarts; v0.3.5 - #225
Merged
Merged
Conversation
ThreatCrush Security Scan13 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
Collaborator
Author
|
Added: placement prefers the nodes with the most free disk ( |
The rendezvous fill ranks every live hosting peer. A node at its free-disk floor (dev2: 13 GiB free of 1.8 TiB, floor 50 GiB) still advertised itself as a host, ranked first for some sites, failed every replicate with "disk nearly full", and every other node deferred to it, so the site sat at 2/3 copies forever while the network had TBs free. - Holding gossip gains `full` (serde default false; older nodes ignore it): disk at its floor (+256 MiB headroom) or hosting budget used up - full peers are left out of the fill candidates (their copies still count) - a full node never puts itself forward in repair_once - test: a full peer that ranks first does not hold the slot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Holding gossip gains room_gib (free disk above the floor, whole GiB; absent from older nodes, treated as 64 GiB). The rendezvous fill now orders candidates by space tier (bit length of free GiB: ~2x the room = one tier up), then by rendezvous score inside a tier. Integer only, so every node agrees; the biggest disks fill first while equals still share the load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sh1pt-actions-fleet
Bot
force-pushed
the
fix/hosting-placement-skip-full
branch
from
November 9, 2026 12:56
9d78379 to
c28e399
Compare
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.
A site sat at 2/3 copies while the network had TBs free: dev2 (below its 50 GiB free floor) still advertised as a host, ranked first for some sites, failed every replicate (
disk nearly full), and the rendezvous fill deferred to it forever.fullflag on Holding gossip (backward compatible)Not compiled locally: dev2's disk is at 13 GiB free; CI builds and tests.
🤖 Generated with Claude Code