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
use "cluster.raft.{ps,add,remove}"
Konstantin Lebedev931cb9e5818b
diff --git a/weed/shell/command_raft_server_add.go b/weed/shell/command_cluster_raft_add.gosimilarity index 93%rename from weed/shell/command_raft_server_add.gorename to weed/shell/command_cluster_raft_add.goindex 8438828103..e5f3c41c9d 100644--- a/weed/shell/command_raft_server_add.go+++ b/weed/shell/command_cluster_raft_add.go@@ -16,14 +16,14 @@ type commandRaftServerAdd struct {}func (c *commandRaftServerAdd) Name() string {- return "raft.server.add"+ return "cluster.raft.add"}func (c *commandRaftServerAdd) Help() string {return `add a server to the raft clusterExample:- raft.server.add -id <server_name> -address <server_host:port> -voter+ cluster.raft.add -id <server_name> -address <server_host:port> -voter`}diff --git a/weed/shell/command_raft_cluster_ps.go b/weed/shell/command_cluster_raft_ps.gosimilarity index 96%rename from weed/shell/command_raft_cluster_ps.gorename to weed/shell/command_cluster_raft_ps.goindex 6589e36297..ea868db06e 100644--- a/weed/shell/command_raft_cluster_ps.go+++ b/weed/shell/command_cluster_raft_ps.go@@ -16,13 +16,13 @@ type commandRaftClusterPs struct {}func (c *commandRaftClusterPs) Name() string {- return "raft.cluster.ps"+ return "cluster.raft.ps"}func (c *commandRaftClusterPs) Help() string {return `check current raft cluster status- raft.cluster.ps+ cluster.raft.ps`}diff --git a/weed/shell/command_raft_server_remove.go b/weed/shell/command_cluster_raft_remove.gosimilarity index 94%rename from weed/shell/command_raft_server_remove.gorename to weed/shell/command_cluster_raft_remove.goindex 56b5274780..532a1469ca 100644--- a/weed/shell/command_raft_server_remove.go+++ b/weed/shell/command_cluster_raft_remove.go@@ -16,14 +16,14 @@ type commandRaftServerRemove struct {}func (c *commandRaftServerRemove) Name() string {- return "raft.server.remove"+ return "cluster.raft.remove"}func (c *commandRaftServerRemove) Help() string {return `remove a server from the raft clusterExample:- raft.server.remove -id <server_name>+ cluster.raft.remove -id <server_name>`}