mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 08:56:41 +00:00
Two related improvements to snapshot/full-state handling: - Persist the incoming op's vector clock as `user_sync_state.latest_full_state_vector_clock` so downloads can skip the expensive aggregate scan when the snapshot clock is still valid; falls back to the legacy aggregate when missing or invalid. - Treat retried snapshot uploads (same opId) as idempotent successes instead of 409/DUPLICATE_OPERATION so a dropped response doesn't push clients into the download-and-merge path. Per-namespace request dedup keeps ops and snapshot caches isolated. |
||
|---|---|---|
| .. | ||
| migrations | ||
| migrate.spec.ts | ||
| supersync-http-contract.spec.ts | ||
| vector-clock.spec.ts | ||