clean up logs
This commit is contained in:
@@ -135,7 +135,6 @@ func ViewFromVisibleIntervals(visibles []VisibleInterval, offset int64, size int
|
|||||||
|
|
||||||
for _, chunk := range visibles {
|
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)
|
chunkStart, chunkStop := max(offset, chunk.start), min(stop, chunk.stop)
|
||||||
|
|
||||||
if chunkStart < chunkStop {
|
if chunkStart < chunkStop {
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ func (fh *FileHandle) readFromChunks(buff []byte, offset int64) (int64, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if fh.f.reader == nil {
|
if fh.f.reader == nil {
|
||||||
glog.V(1).Infof("entryViewCache %d", len(fh.f.entryViewCache))
|
|
||||||
chunkViews := filer2.ViewFromVisibleIntervals(fh.f.entryViewCache, 0, math.MaxInt32)
|
chunkViews := filer2.ViewFromVisibleIntervals(fh.f.entryViewCache, 0, math.MaxInt32)
|
||||||
fh.f.reader = filer2.NewChunkReaderAtFromClient(fh.f.wfs, chunkViews, fh.f.wfs.chunkCache, fileSize)
|
fh.f.reader = filer2.NewChunkReaderAtFromClient(fh.f.wfs, chunkViews, fh.f.wfs.chunkCache, fileSize)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user