mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 16:08:30 +08:00
remove all bucket metadata
fix https://github.com/chrislusf/seaweedfs/issues/2118
This commit is contained in:
@@ -32,6 +32,9 @@ type AbstractSqlStore struct {
|
||||
dbsLock sync.Mutex
|
||||
}
|
||||
|
||||
func (store *AbstractSqlStore) CanDropWholeBucket() bool {
|
||||
return store.SupportBucketTable
|
||||
}
|
||||
func (store *AbstractSqlStore) OnBucketCreation(bucket string) {
|
||||
store.dbsLock.Lock()
|
||||
defer store.dbsLock.Unlock()
|
||||
|
Reference in New Issue
Block a user