Skip to content

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.

adjust

Chris Lu36492c47ec71
diff --git a/weed/filer/reader_at.go b/weed/filer/reader_at.go
index 17a1ba5179..3aeb9a94d5 100644
--- a/weed/filer/reader_at.go
+++ b/weed/filer/reader_at.go
@@ -159,13 +159,11 @@ func (c *ChunkReadAt) readFromWholeChunkData(chunkView *ChunkView, nextChunkView
c.lastChunkData = chunkData
c.lastChunkFileId = chunkView.FileId
- go func() {
- for _, nextChunkView := range nextChunkViews {
- if c.chunkCache != nil && nextChunkView != nil {
- c.readOneWholeChunk(nextChunkView)
- }
+ for _, nextChunkView := range nextChunkViews {
+ if c.chunkCache != nil && nextChunkView != nil {
+ go c.readOneWholeChunk(nextChunkView)
}
- }()
+ }
return
}