Files
seaweedfs/weed/server
chrislu cad5b8b281 master: enable dual-write to both seaweedfs/raft and hashicorp/raft
When using seaweedfs/raft (-raftHashicorp=false), also initialize hashicorp
raft in parallel. All state changes are written to both raft implementations,
keeping hashicorp raft in sync.

This enables seamless migration to hashicorp/raft:
- No manual steps required for existing deployments
- When ready, switch to -raftHashicorp=true and hashicorp raft already has
  all the state
- The old seaweedfs/raft can be removed in a future version

Changes:
- NewRaftServer now initializes hashicorp raft in a subdirectory
- NextVolumeId writes to both raft implementations when both exist
- SetRaftServer sets both RaftServer and HashicorpRaft in topology
- Transport manager for hashicorp raft is registered for gRPC
2025-12-18 22:28:27 -08:00
..
2019-03-03 10:17:44 -08:00
2024-08-01 13:00:54 -07:00