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.

bug: cleanup function was called twice

chrislu80db8b13d885
diff --git a/weed/filesys/dirty_pages_stream.go b/weed/filesys/dirty_pages_stream.go
index 2d57ee0bcb..586b736984 100644
--- a/weed/filesys/dirty_pages_stream.go
+++ b/weed/filesys/dirty_pages_stream.go
@@ -91,7 +91,6 @@ func (pages *StreamDirtyPages) saveChunkedFileIntevalToStorage(reader io.Reader,
glog.V(3).Infof("%s saveToStorage %s [%d,%d)", pages.f.fullpath(), chunk.FileId, offset, offset+size)
pages.chunkAddLock.Unlock()
- cleanupFn()
}
if pages.f.wfs.concurrentWriters != nil {