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
server: remove peer check if not starting master
Chris Lu6a030547a2ef
diff --git a/weed/command/server.go b/weed/command/server.goindex 7ffabb321d..a80ef67964 100644--- a/weed/command/server.go+++ b/weed/command/server.go@@ -177,13 +177,12 @@ func runServer(cmd *Command, args []string) bool {// ip addressmasterOptions.ip = serverIpmasterOptions.ipBind = serverBindIp- _, masters := checkPeers(*masterOptions.ip, *masterOptions.port, *masterOptions.portGrpc, *masterOptions.peers)- filerOptions.masters = masters+ filerOptions.masters = pb.ServerAddresses(*masterOptions.peers).ToAddresses()filerOptions.ip = serverIpfilerOptions.bindIp = serverBindIpserverOptions.v.ip = serverIpserverOptions.v.bindIp = serverBindIp- serverOptions.v.masters = masters+ serverOptions.v.masters = pb.ServerAddresses(*masterOptions.peers).ToAddresses()serverOptions.v.idleConnectionTimeout = serverTimeoutserverOptions.v.dataCenter = serverDataCenterserverOptions.v.rack = serverRack