Commit Graph

28 Commits (1337175e63ecbf9aaa1d85b4006981f430fa05a6)

Author SHA1 Message Date
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
Jesse McNelis c74317513c properly defer unlock calls 2013-05-25 15:37:56 +10:00
Ben Johnson 9cc40929ea Remove ApplyFunc. 2013-05-10 22:15:00 -06: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 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
Ben Johnson 0d2cb8affa Fix race conditions. 2013-05-02 22:16:39 -06:00
Ben Johnson a4f8fb89a0 Add repeated election test. 2013-04-30 23:21:56 -06:00
Ben Johnson 458c2d9d7c Add simple cluster leader election. 2013-04-30 23:11:23 -06:00
Ben Johnson c8b9d783b7 Add log truncation and AppendEntries overwrite. 2013-04-30 22:44:16 -06:00
Ben Johnson b026fec928 Add tests for multiple appends. 2013-04-30 20:39:46 -06:00
Ben Johnson 79a0a57995 Add basic append entries test. 2013-04-29 22:13:50 -06:00
Ben Johnson c218fbfd9b Add tests for vote requests with different log states. 2013-04-29 20:51:16 -06:00
Ben Johnson 4d3d5b8727 Add simple voting test. 2013-04-28 16:49:52 -06:00
Ben Johnson f8148f1cc5 Add log commit info. 2013-04-28 16:36:46 -06:00
Ben Johnson e0f86056d5 Add election timer. 2013-04-28 15:23:21 -06:00
Ben Johnson 66357ed93c Intermediate. 2013-04-27 22:51:17 -06:00
Ben Johnson 5d5c7cc817 Add single node configuration. 2013-04-16 20:32:49 -06:00
Ben Johnson ef7ce43469 Add basic server setup. 2013-04-16 20:28:08 -06:00
Ben Johnson 3841bb03a4 Basic log append. 2013-04-14 15:37:33 -06:00