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
shell: show remote storage name/key in volume.list output (#9987)
Chris Lu9c10d64ae938
diff --git a/weed/storage/volume_info.go b/weed/storage/volume_info.goindex 3a5bae56b6..f3f7b2cade 100644--- a/weed/storage/volume_info.go+++ b/weed/storage/volume_info.go@@ -75,8 +75,12 @@ func (vi VolumeInfo) IsRemote() bool {}func (vi VolumeInfo) String() string {- return fmt.Sprintf("Id:%d, Size:%d, ReplicaPlacement:%s, Collection:%s, Version:%v, Ttl:%s, FileCount:%d, DeleteCount:%d, DeletedByteCount:%d, ReadOnly:%v, ModifiedAtSecond:%d",+ s := fmt.Sprintf("Id:%d, Size:%d, ReplicaPlacement:%s, Collection:%s, Version:%v, Ttl:%s, FileCount:%d, DeleteCount:%d, DeletedByteCount:%d, ReadOnly:%v, ModifiedAtSecond:%d",vi.Id, vi.Size, vi.ReplicaPlacement, vi.Collection, vi.Version, vi.Ttl.String(), vi.FileCount, vi.DeleteCount, vi.DeletedByteCount, vi.ReadOnly, vi.ModifiedAtSecond)+ if vi.IsRemote() {+ s += fmt.Sprintf(", RemoteStorageName:%s, RemoteStorageKey:%s", vi.RemoteStorageName, vi.RemoteStorageKey)+ }+ return s}func (vi VolumeInfo) ToVolumeInformationMessage() *master_pb.VolumeInformationMessage {