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
adjust
Chris Luc49e2bb9a30e
diff --git a/weed/util/chunk_cache/chunk_cache_on_disk_test.go b/weed/util/chunk_cache/chunk_cache_on_disk_test.goindex 4b179e5d3c..b2b22f74ec 100644--- a/weed/util/chunk_cache/chunk_cache_on_disk_test.go+++ b/weed/util/chunk_cache/chunk_cache_on_disk_test.go@@ -16,7 +16,7 @@ func TestOnDisk(t *testing.T) {totalDiskSizeInKB := int64(32)- cache := NewTieredChunkCache(0, tmpDir, totalDiskSizeInKB, 1024)+ cache := NewTieredChunkCache(2, tmpDir, totalDiskSizeInKB, 1024)writeCount := 5type test_data struct {@@ -58,7 +58,7 @@ func TestOnDisk(t *testing.T) {cache.Shutdown()- cache = NewTieredChunkCache(0, tmpDir, totalDiskSizeInKB, 1024)+ cache = NewTieredChunkCache(2, tmpDir, totalDiskSizeInKB, 1024)for i := 0; i < 2; i++ {data := cache.GetChunk(testData[i].fileId, testData[i].size)