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
not convert err to string
Konstantin Lebedev18b98f974708
diff --git a/weed/filer2/filerstore.go b/weed/filer2/filerstore.goindex b55aeb4d62..db53734bc7 100644--- a/weed/filer2/filerstore.go+++ b/weed/filer2/filerstore.go@@ -138,7 +138,7 @@ func (fsw *FilerStoreWrapper) ListDirectoryPrefixedEntries(ctx context.Context,stats.FilerStoreHistogram.WithLabelValues(fsw.ActualStore.GetName(), "list").Observe(time.Since(start).Seconds())}()entries, err := fsw.ActualStore.ListDirectoryPrefixedEntries(ctx, dirPath, startFileName, includeStartFile, limit, prefix)- if err.Error() == ErrUnsupportedListDirectoryPrefixed.Error() {+ if err == ErrUnsupportedListDirectoryPrefixed {count := 0notPrefixed, err := fsw.ActualStore.ListDirectoryEntries(ctx, dirPath, startFileName, includeStartFile, limit)if err != nil {