sync vault 2.0
DANGERUpgrade Notes
- The underlying data structure is incompatible with 1.x. An upgrade may trigger a full re-sync.
- Please back up your data before upgrading.
Sync Vault 2.0 marks a major milestone with significant improvements over 1.x.
Controlled Mode Refresh Speed
Section titled “Controlled Mode Refresh Speed”The slowest experience in 1.x was for AliyunDrive users — opening the controlled mode panel could take minutes. In 2.0, with 20,000 local files and 5,000 cloud files, refresh completes in ~10 seconds — 20x faster than 1.x.
Dry Run
Section titled “Dry Run”A Dry Run button has been added to Dashboard → Shortcuts. Clicking it previews all operations the next sync would perform, giving you full visibility into the sync process.
Instant Upload & Small File Speedup
Section titled “Instant Upload & Small File Speedup”AliyunDrive now supports instant upload (hash-based), and BaiduDrive small-file upload has been optimized. Many vaults consist of thousands of small Markdown files (tens of KB each):
| Version | Upload Speed |
|---|---|
| 1.x | ~1 file/sec |
| 2.0 (normal) | ~3 files/sec |
| 2.0 (instant) | 7~10 files/sec |
3x+ speedup over 1.x.
Unified Underlying Data Structure
Section titled “Unified Underlying Data Structure”File metadata is now stored on Yjs + IndexedDB, unifying the data model across 3 dimensions:
- Unified structure between controlled mode and auto mode
- Unified structure across all cloud drives
- Unified structure between cloud sync and real-time collaboration
Cross-Clock-Domain Sync State Management
Section titled “Cross-Clock-Domain Sync State Management”In 1.x, cloud drives needed to store local file clock information for correct sync state determination — a hard requirement that limited which drives could be supported. This restriction is removed in 2.0, making it possible to integrate any cloud drive with minimal effort.