rename, fix wrong logic.

This commit is contained in:
Chris Lu
2021-08-14 21:46:34 -07:00
parent cb53802752
commit c34747c79d
8 changed files with 560 additions and 549 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 = entry.Mtime.Unix()
newEntry.Remote.LastLocalSyncTsNs = time.Now().UnixNano()
// this skips meta data log events