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
fix(shell): print markVolumeWritable/markVolumeReadonly based on the writable flag (#10283)
qzhello95023af4895f
diff --git a/weed/shell/command_volume_move.go b/weed/shell/command_volume_move.goindex 3ce2b36ee4..1f3214af42 100644--- a/weed/shell/command_volume_move.go+++ b/weed/shell/command_volume_move.go@@ -233,7 +233,11 @@ func markVolumeWritable(grpcDialOption grpc.DialOption, volumeId needle.VolumeId}func markVolumeReplicaWritable(grpcDialOption grpc.DialOption, volumeId needle.VolumeId, location wdclient.Location, writable, persist bool) error {- fmt.Printf("markVolumeReadonly %d on %s ...\n", volumeId, location.Url)+ if writable {+ fmt.Printf("markVolumeWritable %d on %s ...\n", volumeId, location.Url)+ } else {+ fmt.Printf("markVolumeReadonly %d on %s persist=%v ...\n", volumeId, location.Url, persist)+ }return markVolumeWritable(grpcDialOption, volumeId, location.ServerAddress(), writable, persist)}