Alex Robinson
|
45406d8486
raft: Avoid holding unneeded memory in unstable log's entries array
|
7 rokov pred |
zhonglin6666
|
df31eab136
raft: simplify truncateAndAppend
|
8 rokov pred |
Gyu-Ho Lee
|
fe884f8209
raft: update LICENSE header
|
8 rokov pred |
Anthony Romano
|
20461ab11a
*: fix many typos
|
8 rokov pred |
siddontang
|
54a45ba2f5
*: fix typo
|
8 rokov pred |
es-chow
|
cc362ccdad
raft: set logger to raft so log context such as multinode groupID can be logged
|
9 rokov pred |
Xiang Li
|
1561b85bf3
raft: drop the raft prefix in logging
|
9 rokov pred |
Xiang Li
|
97579e2e1d
raft: introduce logger interface
|
9 rokov pred |
Jonathan Boulle
|
f1ed69e883
*: switch to line comments for copyright
|
9 rokov pred |
Xiang Li
|
3209fd544b
raft: panic on bad slice
|
10 rokov pred |
Xiang Li
|
79014556e9
Merge pull request #1831 from xiang90/fix_unstable
|
10 rokov pred |
Xiang Li
|
2f5b748a90
raft: clearify that the firstIndex might not be available.
|
10 rokov pred |
Xiang Li
|
b7ca56e3c8
raft: move good case of truncateAndAppend to the first place
|
10 rokov pred |
Xiang Li
|
788d1e59a2
raft: use index in entry
|
10 rokov pred |
Xiang Li
|
51de095d2c
raft: logging state change events and events on bad path
|
10 rokov pred |
Xiang Li
|
19ccdbee18
Merge pull request #1806 from xiang90/no_copy
|
10 rokov pred |
Xiang Li
|
649176934a
raft: add tests for stableTo
|
10 rokov pred |
Xiang Li
|
3c0fbe285c
raft: stableTo checks term matching
|
10 rokov pred |
Xiang Li
|
d214e87aee
raft: make unstable.entries immutable; copy the entries at bad path
|
10 rokov pred |
Xiang Li
|
8a626257c7
raft: move unstable related function to log_unstable.go
|
10 rokov pred |