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
better printout
Chris Luab97b17e6250
diff --git a/weed/command/shell.go b/weed/command/shell.goindex 15c12f5567..3ba51aec1e 100644--- a/weed/command/shell.go+++ b/weed/command/shell.go@@ -46,8 +46,6 @@ func runShell(command *Command, args []string) bool {}if cluster == "" {*shellOptions.Masters = "localhost:9333"- fmt.Printf("master: %s\n", *shellOptions.Masters)-} else {*shellOptions.Masters = v.GetString("cluster." + cluster + ".master")*shellInitialFiler = v.GetString("cluster." + cluster + ".filer")diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.goindex 3cde1d237d..fed62aba1f 100644--- a/weed/shell/shell_liner.go+++ b/weed/shell/shell_liner.go@@ -65,10 +65,12 @@ func RunShell(options ShellOptions) {}return nil})+ fmt.Printf("master: %s ", *options.Masters)if len(filers) > 0 {- fmt.Printf("filers: %v\n", filers)+ fmt.Printf("filers: %v", filers)commandEnv.option.FilerAddress = filers[rand.Intn(len(filers))]}+ fmt.Println()}if commandEnv.option.FilerAddress != "" {