diff --git a/weed/filer/filechunks.go b/weed/filer/filechunks.go index de57a0532..061e0757a 100644 --- a/weed/filer/filechunks.go +++ b/weed/filer/filechunks.go @@ -42,6 +42,9 @@ func ETag(entry *filer_pb.Entry) (etag string) { } func ETagEntry(entry *Entry) (etag string) { + if entry.IsInRemoteOnly() { + return entry.Remote.RemoteETag + } if entry.Attr.Md5 == nil { return ETagChunks(entry.GetChunks()) }