Xiang Li
|
060de128a7
raft: add clusterId
|
10 years ago |
Xiang Li
|
447d7dc51b
raft: fix log append; add tests
|
10 years ago |
Xiang Li
|
30f4d9faea
raft: change index and term to int64
|
10 years ago |
Xiang Li
|
2a11c1487c
raft: sm.compact and sm.restore
|
10 years ago |
Xiang Li
|
064004b899
raft: add log compact
|
10 years ago |
Xiang Li
|
6a232dfc13
raft: add offset for log
|
10 years ago |
Xiang Li
|
f387e3e27d
raft: add Entry.isConfig
|
10 years ago |
Xiang Li
|
3817661f82
raft: rename ConfigAdd/ConfigRemove -> AddNode/RemoveNode
|
10 years ago |
Xiang Li
|
9f315ffe10
raft: make entry type public
|
10 years ago |
Xiang Li
|
1a75beb57c
raft: add confAdd and confRemove entry type
|
10 years ago |
Xiang Li
|
c03fbf68d6
raft: add conf safety
|
10 years ago |
Xiang Li
|
0cdd1b58a4
raft: rename log.commit to log.committed
|
10 years ago |
Xiang Li
|
9cd3b2153f
raft: comment log.nextEnts
|
10 years ago |
Xiang Li
|
a06729a96a
raft: use log.lastIndex()
|
10 years ago |
Xiang Li
|
888ddacd3c
raft: remove the init cap of log entries
|
10 years ago |
Xiang Li
|
2ef9498d6f
raft: remove TLA comment
|
10 years ago |
Xiang Li
|
bee9d8bea5
raft: add log.maybeAppend
|
10 years ago |
Xiang Li
|
b70be19653
raft: add log.maybeCommit
|
10 years ago |
Xiang Li
|
092461d7c8
raft: rename log.len to log.lastIndex
|
10 years ago |
Xiang Li
|
8f3d109c18
raft: rename log.isOk to log.matchTerm
|
10 years ago |
Xiang Li
|
4c609ec59c
raft: new log struct
|
10 years ago |