This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two bugs in client synchronization. (#270)
Both could occur if a client and server write to the same key and the server disconnects/reconnects (or restarts). Bug 1: the client did not properly update the sequence number in this case, so later server updates could be ignored until the sequence number wrapped. Bug 2: the client did not properly set the id and sequence number for the update message back to the server, so the server would ignore the message.
- Loading branch information