mirror of
https://github.com/logseq/logseq.git
synced 2026-05-16 00:42:20 +00:00
Fix snapshot-stream reset coercion so first non-empty chunk actually applies reset during full uploads. Broadcast changed(t-now) after finished snapshot upload so connected peers learn the new snapshot epoch immediately. Handle remote tx rollback on clients (hello/changed with remote-tx < local-tx) by rebasing local tx/checksum cursor and requesting pull from the new baseline. Harden ws broadcast in non-WS test contexts and add regression tests for reset-on-first-chunk and finished-upload changed broadcast. Verified with: cli-e2e sync-multi-batch-operations (passes).