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
Fix for issue #635
mtolmane4b1e5c3c80c
diff --git a/weed/storage/volume.go b/weed/storage/volume.goindex f168ad1553..a58a74340f 100644--- a/weed/storage/volume.go+++ b/weed/storage/volume.go@@ -61,7 +61,7 @@ func (v *Volume) Size() int64 {return stat.Size()}glog.V(0).Infof("Failed to read file size %s %v", v.dataFile.Name(), e)- return -1+ return 0 // -1 causes integer overflow and the volume to become unwritable.}// Close cleanly shuts down this volume