go-raft | A reliable raft algorithm implementation in go | Architecture library
kandi X-RAY | go-raft Summary
kandi X-RAY | go-raft Summary
A reliable raft algorithm implementation in go
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- InstallSnapshot is used to install a snapshot
- Make creates a new Raft struct
- MakePersister creates a Persister
- DPrintf log format
go-raft Key Features
go-raft Examples and Code Snippets
Community Discussions
Trending Discussions on go-raft
QUESTION
a short overview of my case:
Originally I had a simple running consul cluster with one server (server1) and several clients. Here is my server1.json configuration file:
...ANSWER
Answered 2021-Feb-04 at 23:21If you look few lines above the provided "panic" line, you can see:
[WARN] agent.server.raft: failed to get previous log: previous-index=93400 last-index=93262 error="log not found".
It seems like there is a problem with logs replication. The current leader is not able to replicate the logs to the new follower.
While I guess there can be multiple reasons for this, one possible problem can be in the version of consul. As far as I see from your consul members command, the version of server1 is older than version of your leader (whether it is server2 or server3).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go-raft
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page