Xiang Li
|
1561b85bf3
raft: drop the raft prefix in logging
|
9 anos atrás |
Xiang Li
|
97579e2e1d
raft: introduce logger interface
|
9 anos atrás |
Jonathan Boulle
|
f1ed69e883
*: switch to line comments for copyright
|
9 anos atrás |
Xiang Li
|
3209fd544b
raft: panic on bad slice
|
10 anos atrás |
Xiang Li
|
79014556e9
Merge pull request #1831 from xiang90/fix_unstable
|
10 anos atrás |
Xiang Li
|
2f5b748a90
raft: clearify that the firstIndex might not be available.
|
10 anos atrás |
Xiang Li
|
b7ca56e3c8
raft: move good case of truncateAndAppend to the first place
|
10 anos atrás |
Xiang Li
|
788d1e59a2
raft: use index in entry
|
10 anos atrás |
Xiang Li
|
51de095d2c
raft: logging state change events and events on bad path
|
10 anos atrás |
Xiang Li
|
19ccdbee18
Merge pull request #1806 from xiang90/no_copy
|
10 anos atrás |
Xiang Li
|
649176934a
raft: add tests for stableTo
|
10 anos atrás |
Xiang Li
|
3c0fbe285c
raft: stableTo checks term matching
|
10 anos atrás |
Xiang Li
|
d214e87aee
raft: make unstable.entries immutable; copy the entries at bad path
|
10 anos atrás |
Xiang Li
|
8a626257c7
raft: move unstable related function to log_unstable.go
|
10 anos atrás |