From ca49ef8ed868ec41a2f386221ae0bc18c1081624 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 5 Dec 2022 23:19:22 -0800 Subject: [PATCH] duplicated logic --- weed/mount/dirty_pages_chunked.go | 1 - 1 file changed, 1 deletion(-) diff --git a/weed/mount/dirty_pages_chunked.go b/weed/mount/dirty_pages_chunked.go index 803bc29a6..78e7b7877 100644 --- a/weed/mount/dirty_pages_chunked.go +++ b/weed/mount/dirty_pages_chunked.go @@ -80,7 +80,6 @@ func (pages *ChunkedDirtyPages) saveChunkedFileIntervalToStorage(reader io.Reade } chunk.ModifiedTsNs = mtime pages.fh.AddChunks([]*filer_pb.FileChunk{chunk}) - pages.fh.entryViewCache = nil glog.V(3).Infof("%v saveToStorage %s [%d,%d)", fileFullPath, chunk.FileId, offset, offset+size) }