Page MenuHomePhabricator

Public | Switch from Standard to Daylight Savings causing files to replicate?
Open, Needs TriagePublic


Leonard reported to

Twice a year, numerous files are copied from the source to the object because the Source is Newer when it is not. The cause: The switch from Standard to Daylight Savings and back again in the fall.

Windows stores file timestamps in UTC time, so I'm not sure how that would happen. Even if Replicator was comparing local times, then the local time should change for both the source and destination files at the same time.

Are you storing your destination files on a server that is translating the time, possibly? Or, perhaps the destination server isn't syncing its time at the same moment that Replicator is... that could definitely mess things up once a year.

(I'll check on what I think I remember I saw in Karen's filetime comparisons. I'm pretty sure she does a full 64-bit comparison of the value Windows returns, but perhaps there's something funky there.)

Event Timeline

Joe created this task.Mar 11 2019, 8:20 AM
Joe created this object in space S5 Public.
Joe created this object with visibility "Public (No Login Required)".
Joe added a comment.Apr 29 2020, 3:54 PM

Also reported by Kevin to support

Noticed this issue after the last two daylight savings time changes. The first time Replicator runs after the daylight savings time change, it will copy all files as if all files have a changed time stamp. Only happens twice a year but thought I'd bring it to your attention.

Joe added a comment.EditedApr 29 2020, 4:02 PM

I haven't been able to reproduce this.

When was Kevin's job support to run? What version of Windows?

OneDrive involved?

from Leonard's report from 2019 (the day after 3/10/2019 2am time change) redacted

3/11/2019 1:00:01 AM: Logging Started ... App=Karen's Replicator v3.7.4
3/11/2019 1:00:01 AM: Running Scheduled Job: Documents ...
3/11/2019 1:00:02 AM: Windows Version: Windows 7 v6.1.7601
3/11/2019 1:00:02 AM: Source folder: C:\...\OneDrive\Documents\
3/11/2019 1:00:02 AM: Destination folder: L:\Documents\
3/11/2019 1:00:02 AM: File Filter: *.*
3/11/2019 1:00:02 AM: Compare Method: Copy If Source File's Date of Last Modification is Newer
3/11/2019 1:00:02 AM: Replicate Deletions? False
3/11/2019 1:00:02 AM: Move Deleted Items to Recycle Bin? False
3/11/2019 1:00:02 AM: Include Subfolders? True
3/11/2019 1:00:02 AM: Global Exclusions Enabled? False