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
test: random needles always carry at least one byte (#10523)
Chris Lude000917657c
diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.goindex 764528e5a6..5dd990a42a 100644--- a/weed/storage/volume_vacuum_test.go+++ b/weed/storage/volume_vacuum_test.go@@ -397,7 +397,8 @@ type needleInfo struct {func newRandomNeedle(id uint64) *needle.Needle {n := new(needle.Needle)- n.Data = make([]byte, rand.Intn(1024))+ // never zero bytes: an empty needle writes a size-0 .dat record, indistinguishable from a delete marker+ n.Data = make([]byte, 1+rand.Intn(1023))rand.Read(n.Data)n.Checksum = needle.NewCRC(n.Data)