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
LocalID from raw string
Konstantin Lebedev1ae7f509f572
diff --git a/weed/server/raft_hashicorp.go b/weed/server/raft_hashicorp.goindex 892cddf43f..3d71be279c 100644--- a/weed/server/raft_hashicorp.go+++ b/weed/server/raft_hashicorp.go@@ -73,7 +73,7 @@ func NewHashicorpRaftServer(option *RaftServerOption) (*RaftServer, error) {}c := raft.DefaultConfig()- c.LocalID = raft.ServerID(s.serverAddr.String()) // TODO maybee the IP:port address will change+ c.LocalID = raft.ServerID(s.serverAddr) // TODO maybee the IP:port address will changec.NoSnapshotRestoreOnStart = option.RaftResumeStatec.HeartbeatTimeout = time.Duration(float64(option.HeartbeatInterval) * (rand.Float64()*0.25 + 1))c.ElectionTimeout = option.ElectionTimeout