avoid crashes Galera Cluster

https://github.com/chrislusf/seaweedfs/issues/2125
This commit is contained in:
Konstantin Lebedev
2021-06-15 18:12:39 +05:00
parent ebe971da2e
commit 6aa1a56ec8
18 changed files with 36 additions and 29 deletions

View File

@@ -154,7 +154,7 @@ func (store *CassandraStore) DeleteEntry(ctx context.Context, fullpath util.Full
return nil
}
func (store *CassandraStore) DeleteFolderChildren(ctx context.Context, fullpath util.FullPath) error {
func (store *CassandraStore) DeleteFolderChildren(ctx context.Context, fullpath util.FullPath, limit int64) error {
if _, ok := store.isSuperLargeDirectory(string(fullpath)); ok {
return nil // filer.ErrUnsupportedSuperLargeDirectoryListing
}