mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-24 00:17:47 -04:00
- Introduced a comprehensive sync infrastructure, including a `Syncable` trait for models, enabling automatic logging of changes in a dedicated sync log database. - Added `LeadershipManager` for managing leader election and lease tracking, ensuring reliable synchronization across devices. - Implemented `TransactionManager` to handle atomic writes and sync logging, enhancing data integrity during state changes. - Created a new `sync` module with necessary components such as `SyncLogDb`, `SyncLogEntry`, and sync protocol handlers for efficient communication between leader and follower devices. - Developed integration tests to validate the sync functionality and ensure robust performance across various scenarios.