Repository navigation
fix(lanes): a lane on a node lost to a reboot is said; first syncs hash in parallel - #275
Merged
Merged
Conversation
…sh in parallel From the pool's telemetry of 2026-10-23..26: - A member's machine restarted; its lane on a node (2.8 days old) was gone after the reboot without a word: the daemon was killed, the lease expired on the node two minutes later, and the next daemon showed the lane as merely stopped. A lane on a node now leaves a note in its state while a daemon follows it; the next daemon finds a note it did not take up, releases the lease if it still runs, logs remote_lane_unfollowed and shows with the lane why it is gone and how to start it again (ADR-0052 point 6). - The first sync of a remote lane spent 22-90 s hashing ~7,200 files on one member (5-12 ms per open, a virus scanner's); files without a cached hash are now read on 2-16 threads. - node_lease_ended says why: released, expired or ended by an admin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 26, 2026
Merged
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.
From the pool's telemetry of 2026-10-23 to 2026-10-26.
A lane on a node lost to an unclean end is said (ADR-0052 point 6)
A member's machine restarted. Its lane on a node had run for 2.8 days. The daemon was killed (no
daemon_stopping), and the node let the lease expire two minutes later (node_lease_ended, held 244450 s). The next daemon showed the lane as merely stopped, with no word about it (by ADR-0052 point 3).followed.json(itsCarried). Stopping the lane, or seeing its lease end, removes the note. A restart leaves it, and the next daemon adopts the lane and writes it again. The note is removed only for its own lease, so a move between nodes keeps the new one.remote_lane_unfollowed, and shows with the lane a failed start with the reason anddevstack up --on <node>. The lane is not restarted by itself (owner's decision; an alternative in the ADR).take_upnow runs: carried lanes on nodes, unfollowed lanes, lanes here, the main slot. The note no longer waits behind the up-to-15-minute wait for the main tree.remote_lane.rs(Linux CI): kill the daemon,up, then check that the lane says it, the log hasremote_lane_unfollowed, and the node is clear.First sync of a remote lane hashes in parallel
On one member,
remote_lane_syncedshowedhash_ms22-90 s for ~7,200 files, which is nearly the whole sync. That is 5-12 ms per file open (a virus scanner's); the same tree reads in 0.35 s on another machine.hash_allnow reads the files that have no cached hash on 2-16 threads. The order and thegonehandling are unchanged, and there is a test for the order. The effect will show inhash_msonce members run it.node_lease_endedsays whywhy:released,expired,ended(admin). The pool-telemetry skill is updated.🤖 Generated with Claude Code