Repository navigation
Closed
Conversation
Range sync now runs as a method of the /id-sync/1 session. The initiator's Request names the method that choose() picked, and the responder answers it if it runs that method. run_agreed has a Range branch that runs event_store::sync::run_range on the agreed stream. - LogAndRange is the SyncSupport a node registers to serve both methods. - SharedEventStore::estimate fills Estimate from the store: the chain count is the number of authors LogSync resolves for the topic. The difference and the last completed sync come from a PeerHistory the caller keeps. It is in memory for now, and storing it is open. - The range session syncs the topic's authors only, as LogSync does, so the Request's topic means the same thing for both methods. - The frame cap is the sync stream's (1 MiB, world_session's MAX_FRAME_BYTES), and the default budget is half of it. A 4 MiB budget would be refused by the stream's reader. - A cut finishes the send half early, not reset: QUIC discards unread data on reset, and the acceptor then committed nothing.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Member
Author
|
Left unmerged in the 2026-10-24 cleanup merge pass — tracking issue: #741 (recommend closing; range sync already landed via integration). |
Member
Author
|
Closing at Drew's direction (2026-10-24) per tracking issue #741 — range sync already landed in main via integration. |
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.
Laptop cleanup pass (2026-10-24): surfacing a local-only branch from the laptop (~/code), commits older than 48h.
Branch tip 80c3ce3 (2026-10-12). Large sync/log_sync change (+757/-407, 5 files) from the P3 phase. The surrounding platform work landed via other branches, so this may be superseded or conflicting — opened for enumeration and review, NOT merged. Drew: close if superseded.
Need help on this PR? Tag
@codesmith-botwith what you need.