mount: cache on reading remote storage

This commit is contained in:
Chris Lu
2021-08-09 22:11:57 -07:00
parent a7012d9729
commit 69655ba8e5
4 changed files with 42 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ func (fs *FilerServer) DownloadToLocal(ctx context.Context, req *filer_pb.Downlo
fs.filer.NotifyUpdateEvent(ctx, entry, newEntry, true, false, nil)
resp.Entry = entry.ToProtoEntry()
resp.Entry = newEntry.ToProtoEntry()
return resp, nil