aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/filehandle.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-03 12:22:16 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-03 12:22:19 -0800
commit06ee199ef327fba6dbb4389ff93a4f01039d336b (patch)
tree201d3b17f6cc64f6e2ec5aec08777cdf69e29788 /weed/filesys/filehandle.go
parentb132cb893f866dfa7f7d2dbb34588390aa2d013e (diff)
downloadseaweedfs-06ee199ef327fba6dbb4389ff93a4f01039d336b.tar.xz
seaweedfs-06ee199ef327fba6dbb4389ff93a4f01039d336b.zip
ensure entryViewCache is in sync with the chunks
Diffstat (limited to 'weed/filesys/filehandle.go')
-rw-r--r--weed/filesys/filehandle.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go
index c1f755758..54410a0ba 100644
--- a/weed/filesys/filehandle.go
+++ b/weed/filesys/filehandle.go
@@ -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)