Skip to content

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.

rm set NoSnapshotRestoreOnStart

Konstantin Lebedev0e796a55827c
diff --git a/weed/server/raft_hashicorp.go b/weed/server/raft_hashicorp.go
index 15efd5d56a..f36899d5cd 100644
--- a/weed/server/raft_hashicorp.go
+++ b/weed/server/raft_hashicorp.go
@@ -93,7 +93,6 @@ func NewHashicorpRaftServer(option *RaftServerOption) (*RaftServer, error) {
c := raft.DefaultConfig()
c.LocalID = raft.ServerID(s.serverAddr) // TODO maybee the IP:port address will change
- c.NoSnapshotRestoreOnStart = option.RaftResumeState
c.HeartbeatTimeout = time.Duration(float64(option.HeartbeatInterval) * (rand.Float64()*0.25 + 1))
c.ElectionTimeout = option.ElectionTimeout
if c.LeaderLeaseTimeout > c.HeartbeatTimeout {