Raft logic fixes & more tests

This commit is contained in:
Pavel Kirienko
2015-05-08 18:43:27 +03:00
parent 1d7e83bd71
commit e48fa77d85
3 changed files with 101 additions and 68 deletions
@@ -136,7 +136,7 @@ enum TraceEvent
TraceRaftCoreInited, // update interval in usec
TraceRaftStateSwitch, // 0 - Follower, 1 - Candidate, 2 - Leader
// 15
TraceRaftModeSwitch, // 0 - Passive, 1 - Active
TraceRaftActiveSwitch, // 0 - Passive, 1 - Active
TraceRaftNewLogEntry, // node ID value
TraceRaftRequestIgnored, // node ID of the client
TraceRaftVoteRequestReceived, // node ID of the client