Browse Source

duplicated logic

pull/4039/head
chrislu 2 years ago
parent
commit
ca49ef8ed8
  1. 1
      weed/mount/dirty_pages_chunked.go

1
weed/mount/dirty_pages_chunked.go

@ -80,7 +80,6 @@ func (pages *ChunkedDirtyPages) saveChunkedFileIntervalToStorage(reader io.Reade
} }
chunk.ModifiedTsNs = mtime chunk.ModifiedTsNs = mtime
pages.fh.AddChunks([]*filer_pb.FileChunk{chunk}) 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) glog.V(3).Infof("%v saveToStorage %s [%d,%d)", fileFullPath, chunk.FileId, offset, offset+size)
} }

Loading…
Cancel
Save