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
fix for mysql2 postgres2 on fast dropping buckets
Chris Lu28a4a1f8d68e
diff --git a/weed/filer/filerstore.go b/weed/filer/filerstore.goindex 1ded11b4a6..38927d6fb8 100644--- a/weed/filer/filerstore.go+++ b/weed/filer/filerstore.go@@ -43,5 +43,5 @@ type FilerStore interface {type BucketAware interface {OnBucketCreation(bucket string)OnBucketDeletion(bucket string)- IsDropBucketAltogether() bool+ CanDropWholeBucket() bool}diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.goindex e4761f5653..2470f340c9 100644--- a/weed/filer/filerstore_wrapper.go+++ b/weed/filer/filerstore_wrapper.go@@ -45,7 +45,7 @@ func NewFilerStoreWrapper(store FilerStore) *FilerStoreWrapper {func (fsw *FilerStoreWrapper) CanDropWholeBucket() bool {if ba, ok := fsw.defaultStore.(BucketAware); ok {- return ba.IsDropBucketAltogether()+ return ba.CanDropWholeBucket()}return false}