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
avoid double warpping
divinerapier9e3b77c3adf6
diff --git a/weed/filer2/filerstore.go b/weed/filer2/filerstore.goindex 231c7fc685..8caa44ee2f 100644--- a/weed/filer2/filerstore.go+++ b/weed/filer2/filerstore.go@@ -34,6 +34,9 @@ type FilerStoreWrapper struct {}func NewFilerStoreWrapper(store FilerStore) *FilerStoreWrapper {+ if innerStore, ok := store.(*FilerStoreWrapper); ok {+ return innerStore+ }return &FilerStoreWrapper{actualStore: store,}