mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
Record the LocalFile check-then-write TOCTOU race as an accepted limitation and correct stale references in the reliability doc: - §5 documents the non-atomic rev-check + write as an accepted limitation, honestly scoping each mitigation: the upload lock only serializes a single client's own uploads (not across machines); the mismatch-fallback catches only a concurrent write visible at check time (never force-overwriting), so a write landing inside the check→write window can still be lost; .bak recovery is best-effort and only covers a corrupt/interrupted primary, not a valid concurrent overwrite or a fully-missing one. - Distinguishes torn writes (prevented on Electron via temp-file + renameSync; still in-place on Android SAF) from the CAS race (not closed by atomic rename; needs OS-level CAS, left accepted). - §1 corrected: _uploadWithRetry()/:474/"retries once" → current _uploadWithMismatchFallback with _MAX_UPLOAD_RETRIES=2 (3 attempts), and clarify that genuine concurrency throws immediately rather than exhausting retries. |
||
|---|---|---|
| .. | ||
| android-background-sync-improvements.md | ||
| calendar-two-way-sync-technical-analysis.md | ||
| location-based-reminders.md | ||
| multi-client-file-sync-reliability.md | ||
| plugin-view-adapter-api.md | ||
| secure-storage.md | ||
| server-side-entity-versioning.md | ||
| supersync-encryption-at-rest.md | ||
| sync-core-simplification-roadmap.md | ||
| sync-provider-plugins.md | ||