Priority
P1 — consistency and mobile performance
Problem
Batch sync operations may update metadata and call saveSettings() after individual files. This causes write amplification and can leave partially persisted state when a batch fails midway.
On mobile filesystems, repeated settings writes also add avoidable latency.
Plan
Acceptance criteria
- Successful batch operations commit metadata once.
- Failed batches do not report uncommitted metadata as synchronized.
- Partial remote success is represented explicitly and can be retried safely.
- Restarting after failure does not lose track of uncertain files.
- Tests cover full success, early failure, mid-batch failure, retry, rename, and delete.
Priority
P1 — consistency and mobile performance
Problem
Batch sync operations may update metadata and call
saveSettings()after individual files. This causes write amplification and can leave partially persisted state when a batch fails midway.On mobile filesystems, repeated settings writes also add avoidable latency.
Plan
saveSettings()call counts.Acceptance criteria