Commit Graph

10780 Commits (05d1a948d01105677928649e356f64cb07b8f1b0)

Author SHA1 Message Date
Xiang Li ce1bd81d08 add todo 2013-08-13 14:34:42 -07:00
Xiang Li 8ed555bb32 merge 2013-08-13 14:32:35 -07:00
Xiang Li cd98f72c58 conf 2013-08-13 14:31:19 -07:00
Ben Johnson b67b95a296 Merge pull request #109 from coreos/upstream
Update
2013-08-12 21:02:44 -07:00
Xiang Li f16052cd9f minor fix 2013-08-12 21:01:30 -07:00
Xiang Li 132dae3022 before remove the node, flush the remove command to the node first 2013-08-12 14:46:32 -07:00
Xiang Li 27906fddaa snapshot should be an API 2013-08-10 10:53:39 -07:00
Ben Johnson e02eb83ec3 Merge pull request #107 from philips/fixup-internal-imports
Fixup internal imports
2013-08-09 22:23:06 -07:00
Brandon Philips 4a76e4617e fix(misc): update to new URL
move README and Makefile to use the new URL.
2013-08-09 22:19:56 -07:00
Brandon Philips 89a6c5bdd2 chore(*.go): fix imports for protobuf
Fix all of the imports to move from benbjohnson to goraft. Thanks to Ben
for making this move to a new github org.
2013-08-09 21:47:51 -07:00
Ben Johnson c4c93e652f Merge pull request #105 from philips/minor-grammar-fixes
chore(README): minor grammar fixes
2013-08-09 21:01:32 -07:00
Brandon Philips 5d2eda5901 chore(README): minor grammar fixes
Reread the README after my PR and caught a few things:

- a Go not an Go
- fixup an incomplete phrase
- simplify a sentence
2013-08-09 18:34:19 -07:00
Ben Johnson bddabe564a Merge pull request #104 from philips/cleanup-README
Cleanup readme
2013-08-09 18:29:06 -07:00
Brandon Philips dbed707bdb feat(README): reorganize assuming someone knows raft
People who find this repo probably already know a bit about raft. So,
lets tell them about the current state of the project, the features that
are implemented and the example projects first.
2013-08-09 18:03:03 -07:00
Brandon Philips c8de7dbb6e chore(README): add an introduction section to the Overview
Add an introduction to the overview and put a link at the bottom.
2013-08-09 17:29:43 -07:00
Brandon Philips 8a8912ace9 chore(README): add the travis badge lower
the travis badge was located above the title which looked a bit weird,
move it down.
2013-08-09 17:15:44 -07:00
Xiang Li 63069fbd33 Merge pull request #103 from philips/un-nest-add-peer-logic
fix(server): un-nest arg checking
2013-08-09 11:14:27 -07:00
Brandon Philips 406a9cac6a fix(server): un-nest arg checking
simplify the nesting in AddPeer
2013-08-09 10:10:28 -07:00
Xiang Li 99f0d0aaf5 Merge pull request #102 from Mistobaan/master
use switch.(type) instead
2013-08-06 21:59:27 -07:00
Fabrizio (Misto) Milo 559a01e6dc use switch.(type) 2013-08-06 21:46:25 -07:00
Fabrizio (Misto) Milo 54bd5ebbe3 use switch.(type) 2013-08-06 21:46:25 -07:00
Fabrizio (Misto) Milo a9aa0741be nip comment 2013-08-06 21:33:37 -07:00
Fabrizio (Misto) Milo 1247826c5d use switch.(type) 2013-08-06 21:32:00 -07:00
Fabrizio (Misto) Milo 6332689fe0 use switch.(type) 2013-08-06 21:29:40 -07:00
Xiang Li 0a18dcfa10 Merge pull request #101 from Mistobaan/master
add mutex
2013-08-06 21:16:43 -07:00
Fabrizio (Misto) Milo e5530c40fe add defer to guard against unexpected panics 2013-08-06 21:11:09 -07:00
Fabrizio (Misto) Milo 6fcb929318 add mutex 2013-08-06 21:02:30 -07:00
Ben Johnson d46748244f Merge pull request #99 from coreos/fixSnapshot
Fix snapshot
2013-08-06 08:19:12 -07:00
Xiang Li 5ad230d9dc should break instead of return 2013-08-06 00:02:17 -07:00
Xiang Li 28c8de8850 delete print 2013-08-05 19:35:19 -07:00
Xiang Li 11e6b1a66f when restart, compact all the log entries before snapshot. Avoid wrong startTerm 2013-08-05 19:33:07 -07:00
Ben Johnson c75ee472cb Merge pull request #96 from coreos/fixSnapshot
init fix
2013-08-05 10:24:48 -07:00
Xiang Li 9a987d9892 Merge pull request #97 from benbjohnson/remove-timer
Remove timer.
2013-08-05 10:21:30 -07:00
Ben Johnson 31817cf004 Remove timer. 2013-08-05 11:18:05 -06:00
Xiang Li 31db0ff136 init fix 2013-08-02 19:00:11 -07:00
Ben Johnson 29ebf5c0f5 Merge pull request #95 from coreos/master
avoid deadlock
2013-08-02 09:09:53 -07:00
Xiang Li 75c9644bbc avoid deadlock 2013-08-02 09:03:23 -07:00
Ben Johnson 085eed6569 Merge pull request #94 from coreos/master
should not close request body
2013-08-02 08:20:08 -07:00
Ben Johnson ec2680d020 Add Travis CI Badge 2013-08-02 09:17:50 -06:00
Xiang Li 8865839357 should not close request body 2013-08-02 07:59:16 -07:00
Ben Johnson 403140b49a Merge pull request #91 from matttproud/feature/testing/continuous-integration
Add Travis CI tests for go-raft.
2013-08-02 07:52:53 -07:00
Xiang Li 6043edf062 Merge pull request #93 from coreos/master
sleep time should not be hardcoded
2013-08-02 03:04:32 -07:00
Xiang Li ce49c7add9 sleep time should not be hardcoded 2013-08-02 03:03:55 -07:00
Xiang Li f60cf3a74f sleep time should not be hardcoded 2013-08-02 03:01:06 -07:00
Xiang Li bb426c5991 Merge pull request #92 from coreos/master
fix log_entry.go
2013-08-02 02:41:05 -07:00
Xiang Li 1bb97e31ad fix log_entry.go 2013-08-02 02:40:27 -07:00
Xiang Li 6ca0964179 Merge pull request #90 from matttproud/refactor/coding/simplification
Simplify Protobuf Encoding by Removing Extraneous Buffers
2013-08-02 02:36:07 -07:00
Matt T. Proud df7b48cee7 Add Travis CI tests for go-raft.
In playing around with the code in go-raft, I noticed that a number
of the tests are non-deterministic.  I figure Travis CI integration
will help illuminate changes that introduce regressions against
test health.
2013-08-02 11:26:12 +02:00
Matt T. Proud 575c297723 Simplify Protobuf Encoding by Removing Buffers
This commit removes the explicit Protocol Buffer coding buffer, for
goprotobuf's proto.{Marshal,Unmarshal} automatically allocate an
empty buffer, just like the original code did.
2013-08-02 10:54:29 +02:00
Matt T. Proud d54972c427 Perfunctory gofmt -w -s=true. 2013-08-02 10:54:29 +02:00