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
comment UT case
霍晓栋7d73bbb07399
diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.goindex 8ab59404d6..c2fac6ce89 100644--- a/weed/storage/volume_vacuum_test.go+++ b/weed/storage/volume_vacuum_test.go@@ -34,22 +34,22 @@ preparing test prerequisite easier )9. Now you should get updated file A,B,C*/-/*func TestMakeDiff(t *testing.T) {v := new(Volume)//lastCompactIndexOffset value is the index file size before step 4v.lastCompactIndexOffset = 96v.SuperBlock.version = 0x2- err := v.makeupDiff(- "/yourpath/1.cpd",- "/yourpath/1.cpx",- "/yourpath/1.dat",- "/yourpath/1.idx")- if err != nil {- t.Errorf("makeupDiff err is %v", err)- } else {- t.Log("makeupDiff Succeeded")- }+ /*+ err := v.makeupDiff(+ "/yourpath/1.cpd",+ "/yourpath/1.cpx",+ "/yourpath/1.dat",+ "/yourpath/1.idx")+ if err != nil {+ t.Errorf("makeupDiff err is %v", err)+ } else {+ t.Log("makeupDiff Succeeded")+ }+ */}-*/