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.

fix ReadAt

Chris Luebd17597416e
diff --git a/weed/filer2/reader_at.go b/weed/filer2/reader_at.go
index 53fff76720..2771f878cc 100644
--- a/weed/filer2/reader_at.go
+++ b/weed/filer2/reader_at.go
@@ -76,7 +76,7 @@ func (c *ChunkReadAt) ReadAt(p []byte, offset int64) (n int, err error) {
n += readCount
err = readErr
if readCount == 0 {
- return n, nil
+ return n, io.EOF
}
}
return