aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-08-16 01:37:50 -0700
committerChris Lu <chris.lu@gmail.com>2020-08-16 01:37:50 -0700
commit4a77f0820a4169af4de2ff882edb60ca345c3045 (patch)
treee011f71622c6e35170af66a827b430788aa88b31
parent8c9e6eaacd8e5712458c0f43617d896ea9b1b411 (diff)
downloadseaweedfs-4a77f0820a4169af4de2ff882edb60ca345c3045.tar.xz
seaweedfs-4a77f0820a4169af4de2ff882edb60ca345c3045.zip
clean up logs
-rw-r--r--weed/filer2/filechunks.go1
-rw-r--r--weed/filesys/filehandle.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.go
index 5d1d5fbe7..9fd2fcbd2 100644
--- a/weed/filer2/filechunks.go
+++ b/weed/filer2/filechunks.go
@@ -135,7 +135,6 @@ func ViewFromVisibleIntervals(visibles []VisibleInterval, offset int64, size int
for _, chunk := range visibles {
- glog.V(1).Infof("visible [%d,%d)", chunk.start, chunk.stop)
chunkStart, chunkStop := max(offset, chunk.start), min(stop, chunk.stop)
if chunkStart < chunkStop {
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go
index 362013697..550aec5fb 100644
--- a/weed/filesys/filehandle.go
+++ b/weed/filesys/filehandle.go
@@ -99,7 +99,6 @@ func (fh *FileHandle) readFromChunks(buff []byte, offset int64) (int64, error) {
}
if fh.f.reader == nil {
- glog.V(1).Infof("entryViewCache %d", len(fh.f.entryViewCache))
chunkViews := filer2.ViewFromVisibleIntervals(fh.f.entryViewCache, 0, math.MaxInt32)
fh.f.reader = filer2.NewChunkReaderAtFromClient(fh.f.wfs, chunkViews, fh.f.wfs.chunkCache, fileSize)
}