Xiang Li
|
f15cadeffd
|
add snapshot unit test
|
2013-06-05 20:25:17 -07:00 |
Ben Johnson
|
77c63cc1f1
|
Add error lookup for committed log entries.
|
2013-06-05 13:57:31 -04:00 |
Xiang Li
|
718ef79f6f
|
add snapshot_request.go
|
2013-06-05 10:42:15 -07:00 |
Xiang Li
|
842aa1a0ad
|
fix issues (https://github.com/benbjohnson/go-raft/pull/19)
|
2013-06-05 10:38:49 -07:00 |
Xiang Li
|
c0e1613eaa
|
clean the codes
|
2013-06-04 22:56:59 -07:00 |
Xiang Li
|
32729ef871
|
solve conflicts
|
2013-06-04 17:22:09 -07:00 |
Xiang Li
|
4b06328eb0
|
Merge branch 'master' of https://github.com/xiangli-cmu/go-raft
Conflicts:
server.go
|
2013-06-04 17:11:02 -07:00 |
Xiang Li
|
3a6fc7bee4
|
add log-compaction
|
2013-06-04 17:02:45 -07:00 |
Ben Johnson
|
4ca46e7714
|
Serialize election timeout goroutine.
|
2013-06-04 09:38:02 -04:00 |
Ben Johnson
|
8efbb1535e
|
Fix peer timer race condition.
|
2013-06-04 09:35:43 -04:00 |
Ben Johnson
|
c544519c7c
|
Fix timer race condition.
|
2013-06-03 19:16:50 -04:00 |
Xiang Li
|
d0dfd4a428
|
scratch log-compaction
|
2013-06-03 14:58:12 -07:00 |
Ben Johnson
|
ba9b7739e4
|
Add Server.LastCommandName().
|
2013-06-03 15:13:38 -04:00 |
Ben Johnson
|
894eb08592
|
Merge branch 'master' of https://github.com/benbjohnson/go-raft
|
2013-06-03 09:51:57 -04:00 |
Ben Johnson
|
1bd88d5e26
|
Track current leader.
|
2013-06-03 09:51:52 -04:00 |
Ben Johnson
|
df58f67d3e
|
Merge pull request #16 from philips/master
LICENSE: initial commit
|
2013-06-02 20:50:03 -07:00 |
Brandon Philips
|
258e2cfba4
|
LICENSE: initial commit
The README.md file mentions the MIT license but just to make it clear
put a copy of the LICENSE in the repo.
|
2013-06-02 20:43:59 -07:00 |
Ben Johnson
|
20301ed8fd
|
Merge branch 'master' of https://github.com/benbjohnson/go-raft
|
2013-06-02 22:43:44 -04:00 |
Ben Johnson
|
0d9f1f01ed
|
Clean up API.
|
2013-06-02 22:43:40 -04:00 |
Ben Johnson
|
d311b79241
|
Merge pull request #15 from xiangli-cmu/master
Fix leader field and delete some redundant codes
|
2013-06-02 19:17:23 -07:00 |
Xiang Li
|
e1d7a7a8b3
|
delete the redundant codes when using setCurrTerm
|
2013-06-02 18:25:02 -07:00 |
Xiang Li
|
f8973a52a8
|
fix leader field of Server
|
2013-06-02 18:18:25 -07:00 |
Ben Johnson
|
147d3c5dd8
|
Switch to use Transporter interface.
|
2013-05-28 15:57:38 -04:00 |
Ben Johnson
|
9e8834448a
|
Remove join command. Fix race condition.
|
2013-05-28 14:46:27 -04:00 |
Ben Johnson
|
97fbdde521
|
Interface clean up.
|
2013-05-26 20:17:20 -06:00 |
Ben Johnson
|
34008d93eb
|
gofmt
|
2013-05-26 20:06:08 -06:00 |
Ben Johnson
|
345a74b63d
|
Deny command execution for non-leaders.
|
2013-05-26 20:04:41 -06:00 |
Ben Johnson
|
7503eee58b
|
Fix timer cleanup.
|
2013-05-26 18:02:31 -06:00 |
Ben Johnson
|
1337175e63
|
Merge branch 'master' of https://github.com/benbjohnson/go-raft
|
2013-05-26 15:51:15 -06:00 |
Ben Johnson
|
c80f42a2c3
|
Add random timeouts.
|
2013-05-26 15:51:01 -06:00 |
Ben Johnson
|
e2cd96fd87
|
Merge pull request #14 from jessta/master
Add missing defers on mutex.Unlock()s
|
2013-05-25 07:00:01 -07:00 |
Jesse McNelis
|
c74317513c
|
properly defer unlock calls
|
2013-05-25 15:37:56 +10:00 |
Ben Johnson
|
0b8d2cbdab
|
README
|
2013-05-13 14:05:26 -06:00 |
Ben Johnson
|
fd82ccfd1f
|
README
|
2013-05-13 21:31:11 -06:00 |
Ben Johnson
|
e5868a2629
|
README
|
2013-05-12 13:53:42 -06:00 |
Ben Johnson
|
c489159b79
|
Merge branch 'master' of https://github.com/benbjohnson/go-raft
|
2013-05-10 17:00:50 -06:00 |
Ben Johnson
|
9cc40929ea
|
Remove ApplyFunc.
|
2013-05-10 22:15:00 -06:00 |
Ben Johnson
|
49f3a13fbc
|
Fix commit log index update.
|
2013-05-10 21:54:25 -06:00 |
Ben Johnson
|
68e04c36cb
|
Update README.md
|
2013-05-10 09:58:26 -05:00 |
Ben Johnson
|
2efa6b4107
|
Fix command serialization issues.
|
2013-05-10 08:47:24 -06:00 |
Ben Johnson
|
f5761513bc
|
Add log entry marshaling.
|
2013-05-09 21:50:57 -06:00 |
Ben Johnson
|
ea99db0386
|
Fix log entry serialization.
|
2013-05-08 14:22:08 -06:00 |
Ben Johnson
|
94dda25fe4
|
Add log entry access for debugging.
|
2013-05-08 11:00:23 -06:00 |
Ben Johnson
|
7521258d0c
|
Fixed minor bugs.
|
2013-05-07 21:56:32 -06:00 |
Ben Johnson
|
f3441b8bfb
|
Add multi-node failure with re-election test.
|
2013-05-05 15:41:55 -06:00 |
Ben Johnson
|
9de292c636
|
Add heartbeat timer.
|
2013-05-05 14:26:04 -06:00 |
Ben Johnson
|
d00057d4cb
|
Refactor timer.
|
2013-05-05 14:01:06 -06:00 |
Ben Johnson
|
776a2ccff9
|
Fix race conditions.
|
2013-05-05 13:48:15 -06:00 |
Ben Johnson
|
ef423e8ad5
|
Add multi-node join.
|
2013-05-05 13:36:23 -06:00 |
Ben Johnson
|
b6e9a8c07b
|
Fix race condition in election timer.
|
2013-05-05 11:14:27 -06:00 |