ensure entryViewCache is in sync with the chunks

This commit is contained in:
Chris Lu
2020-11-03 12:22:16 -08:00
parent b132cb893f
commit 06ee199ef3
2 changed files with 1 additions and 2 deletions

View File

@@ -264,7 +264,6 @@ func (fh *FileHandle) doFlush(ctx context.Context, header fuse.Header) error {
glog.V(0).Infof("MaybeManifestize: %v", manifestErr)
}
fh.f.entry.Chunks = append(chunks, manifestChunks...)
fh.f.entryViewCache = nil
fh.f.wfs.mapPbIdFromLocalToFiler(request.Entry)
defer fh.f.wfs.mapPbIdFromFilerToLocal(request.Entry)