SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
clean comments
chrislu9bb0a9e306d1
diff --git a/weed/filer/stream.go b/weed/filer/stream.goindex 395d797cc5..9e3bb5f760 100644--- a/weed/filer/stream.go+++ b/weed/filer/stream.go@@ -300,13 +300,13 @@ func (c *ChunkStreamReader) prepareBufferFor(offset int64) (err error) {if c.bufferOffset <= offset && offset < c.bufferOffset+int64(len(c.buffer)) {return nil}- glog.V(2).Infof("c.chunkView: %v buffer:[%d,%d) offset:%d totalSize:%d", c.chunkView, c.bufferOffset, c.bufferOffset+int64(len(c.buffer)), offset, c.totalSize)+ // glog.V(2).Infof("c.chunkView: %v buffer:[%d,%d) offset:%d totalSize:%d", c.chunkView, c.bufferOffset, c.bufferOffset+int64(len(c.buffer)), offset, c.totalSize)// find a possible chunk viewp := c.chunkViewfor p != nil {chunk := p.Value- glog.V(2).Infof("prepareBufferFor check chunk:[%d,%d)", chunk.ViewOffset, chunk.ViewOffset+int64(chunk.ViewSize))+ // glog.V(2).Infof("prepareBufferFor check chunk:[%d,%d)", chunk.ViewOffset, chunk.ViewOffset+int64(chunk.ViewSize))if insideChunk(offset, chunk) {if c.isBufferEmpty() || c.bufferOffset != chunk.ViewOffset {c.chunkView = p