Background Sync Enhancements
TheScientist opened this issue · 4 comments
TheScientist commented
I have a partially working background task version of the file sync:
https://github.com/TheScientist/windows-universal/tree/%2310_background
I'll track the todos here.
Version 1.2.0:
- SyncTask gets cancelled regularely with errorCode 0x80010008
- Refactoring of duplicate ClientService
- EventListener for better PushNotifications (notification per file)
- KeepAsIs ConflictSolution
- Handle Progress and Cancel in Background Task
- Settings for timetrigger + notifications
- Use built in sqlite (see #117)
Future versions
- Better Sync Algorithm (per Sync framework)�to be able to delta sync
DecaTec commented
The background task will be outproc, right?
TheScientist commented
Yes, we need to move some of the classes into a class library, to make them usable by the bg task. The branch has a partially working version. Sync starts but gets canceled sometimes.
TheScientist commented
Looking at the code from the new owncloud client, I found 2 interesting things:
- they query a windows search index to look for locally changed files
- they compare local files by size to check for changes (we use modified time)
SunboX commented
Oh, nice, a universal owncloud client. Thats a great finding for reference! Let's see if can adapt some things!