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
server: give heartbeat-options test a topology (#11853)
Chris Lu2095c905ba6a
diff --git a/weed/server/master_grpc_server_digest_test.go b/weed/server/master_grpc_server_digest_test.goindex 2736f4189a..9f878edcd1 100644--- a/weed/server/master_grpc_server_digest_test.go+++ b/weed/server/master_grpc_server_digest_test.go@@ -132,7 +132,11 @@ func TestDigestCheckAsksForTheListWhenTheLookupIndexDrifts(t *testing.T) {// preallocate is a bare bool with no way to tell "off" from "not mentioned". A// response that left it out would turn preallocation off until reconnect.func TestHeartbeatResponsesCarryTheVolumeOptions(t *testing.T) {- ms := &MasterServer{option: &MasterOption{VolumeSizeLimitMB: 1024}, preallocateSize: 1}+ ms := &MasterServer{+ option: &MasterOption{VolumeSizeLimitMB: 1024},+ preallocateSize: 1,+ Topo: topology.NewTopology("test", sequence.NewMemorySequencer(), 32*1024, 5, false),+ }resend := ms.heartbeatResponse()resend.ResendFullVolumeList = true