Commit Graph

21 Commits (029b60f530ab3463edbb095f2e540b9c49045707)

Author SHA1 Message Date
Xiang Li 8ce022418d refactor do not copy entry around when doing encoding 2014-01-11 22:41:12 +08:00
Ben Johnson 50eaefe123 Command.Apply(Context) 2013-12-23 07:23:11 -07:00
Ben Johnson 8f6f82fb2c Server interface. 2013-10-14 11:54:49 -06:00
Ben Johnson e3b06c530a [Fix #74] Refactor to use binary log and binary RPCs. 2013-07-17 07:45:53 -06:00
Xiang Li 2abebe3065 refactor 2013-07-10 22:19:57 -07:00
Xiang Li 75e0a229e9 commit a NOP after the server becomes leader. Commit ohter commands, after the majority of the peers synced by the NOP command 2013-07-10 16:07:14 -07:00
Ben Johnson 44f3ef6701 [Fix #47] Clean up external interface. 2013-07-05 22:49:47 -06:00
Ben Johnson e526ed3441 Convert LogEntry.result to interface type. 2013-06-25 14:20:53 -06:00
Xiang Li 2bc38456cb fix issues, further cleaning is needed 2013-06-23 20:41:43 -07:00
Xiang Li d8884cbbea change the do struct and add commit center 2013-06-23 11:42:31 -07:00
Xiang Li 094e77f624 use heartbeat to flush the new command in do() function and keep the response result in the log entry 2013-06-08 22:39:50 -07:00
Ben Johnson f9ec2ed5eb Minor cleanup. 2013-06-07 22:41:36 -04:00
Ben Johnson 0d9f1f01ed Clean up API. 2013-06-02 22:43:40 -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 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 ef423e8ad5 Add multi-node join. 2013-05-05 13:36:23 -06:00
Ben Johnson f8148f1cc5 Add log commit info. 2013-04-28 16:36:46 -06:00
Ben Johnson 66357ed93c Intermediate. 2013-04-27 22:51:17 -06:00
Ben Johnson 3841bb03a4 Basic log append. 2013-04-14 15:37:33 -06:00