mirror of
https://github.com/remotely-save/remotely-save.git
synced 2024-06-07 21:10:45 +00:00
1.1 KiB
1.1 KiB
Sync Algorithm V3
Drafted on 20240117.
An absolutely better sync algorithm. Better for tracking deletions and better for subbranching.
Huge Thanks
Basically a combination of algorithm v2 + synclone + rsinc + (some of rclone bisync). All of the later three are released under MIT License so no worries about the licenses.
Features
Must have
- true deletion detection
- deletion protection (blocking) with a setting
- transaction from the old algorithm
- user warning show up, new algorithm needs all clients to be updated! (deliberately corrput the metadata file??)
- filters
- conflict warning
- partial sync
Nice to have
- true time and hash
- conflict rename
Description
We have five input sources: local all files, remote all files, local previous succeeded sync history, local deletions, remote deletions.
Init run, consuming local deletions and remote deletions :
TBD
Later runs, use the first, second, third sources only.
TBD