adjust modification detection logic

This commit is contained in:
Chris Lu
2021-08-14 15:44:47 -07:00
parent f365af81c2
commit 889b143fa7
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ func (fs *FilerServer) DownloadToLocal(ctx context.Context, req *filer_pb.Downlo
newEntry := entry.ShallowClone()
newEntry.Chunks = chunks
newEntry.Remote = proto.Clone(entry.Remote).(*filer_pb.RemoteEntry)
newEntry.Remote.LocalMtime = time.Now().Unix()
newEntry.Remote.LocalMtime = entry.Mtime.Unix()
// this skips meta data log events