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
remote.mount: print out metadata sync errors
Chris Lu04663c361132
diff --git a/weed/remote_storage/s3/s3_storage_client.go b/weed/remote_storage/s3/s3_storage_client.goindex b8701cb52e..735dadf346 100644--- a/weed/remote_storage/s3/s3_storage_client.go+++ b/weed/remote_storage/s3/s3_storage_client.go@@ -83,6 +83,7 @@ func (s *s3RemoteStorageClient) Traverse(remote *remote_pb.RemoteStorageLocation}isLastPage := falsefor !isLastPage && err == nil {+ var localErr errorlistErr := s.conn.ListObjectsV2Pages(listInput, func(page *s3.ListObjectsV2Output, lastPage bool) bool {for _, content := range page.Contents {key := *content.Key@@ -94,6 +95,7 @@ func (s *s3RemoteStorageClient) Traverse(remote *remote_pb.RemoteStorageLocationRemoteETag: *content.ETag,StorageName: s.conf.Name,}); err != nil {+ localErr = errreturn false}}@@ -104,6 +106,9 @@ func (s *s3RemoteStorageClient) Traverse(remote *remote_pb.RemoteStorageLocationif listErr != nil {err = fmt.Errorf("list %v: %v", remote, listErr)}+ if localErr != nil {+ err = fmt.Errorf("process %v: %v", remote, localErr)+ }}return}