jkellendonk Posted September 10, 2014 Report Share Posted September 10, 2014 Hi. I was wondering: If I'm setting up another peer for a sync folder, leveraging a USB drive to copy most of the files over initially, how does Sync decide which file on which peer has the most up to date files? Does it choose the file that has the newest last-modified date? What if someone modifies a file on the new peer before it is done indexing/synchronizing? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted September 11, 2014 Report Share Posted September 11, 2014 @jkellendonkWhen sync decides which file is the latest, it relies on it's own "Change time". Change time is stored in database. In majority of cases it is same as mtime of a file, but in some cases it differs. Here are cases which make change time different from mtime (note, that list is not complete and serves only as a sample):1) Sync is running and user moves file to Sync folder. Change time = move time.2) Sync is starting up and user changed file in sync folder when Sync was off. Change time = Sync startup time.3) Sync is running and user deletes file. Change time = delete time (yes, deletion time is also recored in DB and will be distributed to other peers).4) Sync is starting up and user deleted file. Change time = Sync startup time. Quote Link to comment Share on other sites More sharing options...
jkellendonk Posted September 11, 2014 Author Report Share Posted September 11, 2014 Thank you. I appreciate the answer! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.