Repository navigation
Driver: single-owner engine loop, field conflicts, canonical numbers (DEV-1150 part D) - #51
Merged
Merged
Conversation
…very send goes to an opened socket
…e more catch-up; fuzz exercises the SocketOpened generation guard
…ver's time decoded
…dials carry a User-Agent, credentials change for the next join
…ts and deletes, and counts rare branches
…se-conflict hits by source, and matches the server's catch-up-page drop of upserts for a since-deleted document
…ore an upload, not just lost in flight
…d upload takes the conflict path
…etryWait and before cursors load
…e, restorable per field
…store, socket and timers
…ects and reconnect floods
…ck, so float fields never conflict or re-upload
… a non-array on the server
…failed build or mark backs the document off, a failed pending load reschedules the pump
…k, assert the adopted shadow content; drop plan references from comments
…as the real feed does
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.
DEV-1150 part D: the single-owner driver that runs the core against the store, socket and timers. It is stacked on #50 (store), which is stacked on #49 (transport) and #48 (engine core). Merge them in order: #48, #49, #50, then this one. Spec rev 8 describes this branch.
What's in it
driver::engine):Engine::stopnever waits on the network.auth_invalid, the engine records the credentials that signed the rejected join, not the most recently loaded ones. Only the 5-minute retry compares against them.Reconnectcommand during it resets the backoff and dials 1 s later.recoveredwith reasonfield_conflictand their paths. Other edits merge. The host getsFieldConflict { paths }, andrestore_fieldswrites the kept values back.list_recoveredanddismiss_recovered.Changedcarries its origin:Local,OtherProcessorServer. Doc notices andDatabaseChangedare also reported.Testing
cargo test -p replicant-client --lib: 491 passed.--test wire_contract_tests: 15 passed.--test v2_smoke --no-runcompiles.Reconnectflood; no socket leaks on any failure path), and cross-process host-event tests.large_enum_variant.