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: write more files than the master grows volumes at a time (#11131)
Chris Lu52db7a6aeeae
diff --git a/test/fuse_failover/volume_failover_test.go b/test/fuse_failover/volume_failover_test.goindex f5208e0ed3..20f64bf870 100644--- a/test/fuse_failover/volume_failover_test.go+++ b/test/fuse_failover/volume_failover_test.go@@ -215,10 +215,12 @@ func TestReadAfterCachedLocationDies(t *testing.T) {c := startFailoverCluster(t, 3, 2)// Small files so each is a single chunk on a single volume, which keeps the- // mapping from file to server unambiguous.+ // mapping from file to server unambiguous. The master grows six 001 volumes+ // at a time, so seven files put two of them on one volume however the+ // writes are spread.const fileSize = 256 << 10payloads := make(map[string][]byte)- for i := 0; i < 6; i++ {+ for i := 0; i < 7; i++ {name := fmt.Sprintf("smallfile-%d", i)data := make([]byte, fileSize)_, err := rand.Read(data)