mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-20 18:08:55 +00:00
When a client with an established vector clock (10+ entries) received a remote SYNC_IMPORT/BACKUP_IMPORT with a fresh clock, mergeRemoteOpClocks() merged the import's clock into the old clock instead of replacing it. This caused clock bloat (11+ entries), which led to server-side pruning dropping the import's entry (lowest counter). Other clients then saw these ops as CONCURRENT with the import and discarded them. Fix: In mergeRemoteOpClocks(), when a full-state op is present, use its clock as the base instead of the existing local clock. Regular ops continue to merge normally. |
||
|---|---|---|
| .. | ||
| ai | ||
| long-term-plans | ||
| promotion | ||
| research | ||
| screens | ||
| sync-and-op-log | ||
| wiki | ||
| add-new-integration.md | ||
| build-and-publish-notes.md | ||
| ENV_SETUP.md | ||
| github-access-token-instructions.md | ||
| gitlab-access-token-instructions.md | ||
| how-to-rate.md | ||
| howto-refresh-snap-credentials.md | ||
| i18n-script-usage.md | ||
| legacy-webview-analysis.md | ||
| mac-app-store-code-signing-guide.md | ||
| performance-project-tag-report.md | ||
| plugin-development.md | ||
| TRANSLATING.md | ||
| unused-translations-analysis.md | ||
| update-android-app.md | ||
| update-mac-certificates.md | ||