filer.remote.sync fix upload logic
This commit is contained in:
@@ -202,7 +202,7 @@ func shouldSendToRemote(entry *filer_pb.Entry) bool {
|
|||||||
if entry.RemoteEntry == nil {
|
if entry.RemoteEntry == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if entry.RemoteEntry.LastLocalSyncTsNs/1e9 < entry.Attributes.Mtime {
|
if entry.RemoteEntry.RemoteMtime < entry.Attributes.Mtime {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user