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
add debug messages
Chris Lua09cd2898607
diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.goindex 0af0999677..a4c9bf0f1f 100644--- a/weed/s3api/s3api_objects_list_handlers.go+++ b/weed/s3api/s3api_objects_list_handlers.go@@ -310,6 +310,8 @@ func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string,func (s3a *S3ApiServer) isDirectoryAllEmpty(filerClient filer_pb.SeaweedFilerClient, parentDir, name string) (isEmpty bool, err error) {// println("+ isDirectoryAllEmpty", dir, name)+ glog.V(4).Infof("+ start parentDir: %s name: %s", parentDir, name)+ defer glog.V(4).Infof("- start parentDir: %s name: %s isEmpty: %v", parentDir, name, isEmpty)var fileCounter intvar subDirs []stringcurrentDir := parentDir + "/" + name@@ -324,6 +326,7 @@ func (s3a *S3ApiServer) isDirectoryAllEmpty(filerClient filer_pb.SeaweedFilerCli}startFrom = entry.NameisExhausted = isExhausted || isLast+ glog.V(4).Infof("list: %s/%s isExhausted: %t", currentDir, startFrom, isExhausted)return nil}, startFrom, false, 8)}