mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 23:17:57 +08:00
adjust modification detection logic
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user