Raft tracepoint at election completion

This commit is contained in:
Pavel Kirienko
2015-05-11 13:29:13 +03:00
parent d623eee54a
commit 706e72cc74
2 changed files with 4 additions and 3 deletions
@@ -51,7 +51,7 @@ enum TraceCode
TraceRaftNewEntryCommitted, // new commit index value
// 25
TraceRaftAppendEntriesCallFailure, // error code (may be negated)
Trace0,
TraceRaftElectionComplete, // number of votes collected
Trace1,
Trace2,
Trace3,
@@ -126,7 +126,7 @@ public:
"RaftNewerTermInResponse",
"RaftNewEntryCommitted",
"RaftAppendEntriesCallFailure",
"",
"RaftElectionComplete",
"",
"",
"",
@@ -138,7 +138,7 @@ public:
"AllocationRequestAccepted",
"AllocationExchangeComplete",
"AllocationResponse",
"",
"AllocationActivity",
"",
"DiscoveryNewNodeFound",
"DiscoveryCommitCacheUpdated",