Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Modify PollingWildCardChangeToken to include the timestamp of the files along with the names as part of hash check #238

Closed
@pranavkm

Description

@pranavkm

Consider the following timeline

t0 ->  Create a copy of  File.txt to a backup directory . 
t1 -> Modify File.txt with contents different from the original file.
t2 -> Move the file from the backup directory to the original location.

The PollingWildCardChangeToken only carries the timestamp of the most recently changed last write time window. Consequently this wouldn't work when a file is modified but it's timestamp hasn't moved forward. We could avoid this by additionally storing the timestamp along with the name of the file.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions