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.

minor

Chris Lu81cf8d04dfcb
diff --git a/weed/filesys/dirty_page.go b/weed/filesys/dirty_page.go
index 9c059aae0e..7a3e859f55 100644
--- a/weed/filesys/dirty_page.go
+++ b/weed/filesys/dirty_page.go
@@ -99,7 +99,7 @@ func (pages *ContinuousDirtyPages) saveExistingLargestPageToStorage() (hasSavedD
func (pages *ContinuousDirtyPages) saveToStorage(reader io.Reader, offset int64, size int64) {
if pages.chunkSaveErrChanClosed {
- pages.chunkSaveErrChan = make(chan error, 8)
+ pages.chunkSaveErrChan = make(chan error, concurrentWriterLimit)
pages.chunkSaveErrChanClosed = false
}