John Shahid
5711125493
use map instead of array
2014-01-24 13:19:32 -05:00
John Shahid
4bd574649b
wait for the changes to propagate
2014-01-24 13:03:46 -05:00
John Shahid
eb992cac44
use set instead of array
2014-01-24 12:59:20 -05:00
John Shahid
64ebe4cfb8
disable travis irc notifications
2014-01-24 12:48:40 -05:00
John Shahid
bd1ba30dc7
sleep between creating the user and changing the pass
2014-01-24 12:45:36 -05:00
John Shahid
8d77cb15e5
sleep a little longer
2014-01-24 12:36:30 -05:00
John Shahid
a6c5ff0a23
use a map instead of array
2014-01-24 12:36:28 -05:00
Xiang Li
605f6716d7
fix(peer.go) Make sure we use the leader's term to create AppendEntriesRequest.
...
We do not stop the heartbeats before increases the term of the leader. It is possible that the even after
the state check, the leader stepsdown and use the new term to send out a AppendEntries request. We fixed this by recording the term when it is the leader(if it is not the leader at that time, flush() will return in the if statement).
2014-01-24 09:34:27 -05:00
John Shahid
57af1fe80e
use the set instead of the array
2014-01-23 16:46:29 -05:00
John Shahid
ff9c478ae7
compare sets instead of arrays
2014-01-23 16:31:48 -05:00
John Shahid
0bce8b84aa
wait for data to get replicated
2014-01-23 16:31:41 -05:00
Brandon Philips
6ce38579a4
fix(*.go): rename HeartbeatTimeout to HeartbeatInterval
...
While re-reading the etcd tuning guide I realized that perhaps it is a
bit of a misnomer to call this a "Timeout" since unlike the "Election
Timeout" there is no immediate consequence of it being missed.
Perhaps naming it interval would be better?
2014-01-23 13:22:41 -08:00
John Shahid
1b8478a502
fix a log statement
2014-01-23 16:15:46 -05:00
Xiang Li
0a20921dcb
Merge pull request #165 from philips/add-comment-on-nop-command
...
docs(server): add a comment explaining the NOPCommand
2014-01-23 13:07:08 -08:00
John Shahid
f5699feb9d
update the changelog
2014-01-23 15:54:43 -05:00
John Shahid
ad3a24db32
fix #200 . Select query shouldn't fail if time was among the selected columns
2014-01-23 15:52:02 -05:00
Brandon Philips
5b5fc705be
docs(server): add a comment explaining the NOPCommand
2014-01-23 12:42:06 -08:00
John Shahid
1338121ed8
run tests in verbose mode to send output to travis
...
travis will occasionally think that the tests are hung because it
doesn't get output from the process.
2014-01-23 15:36:36 -05:00
John Shahid
4fb84661ae
retry failed raft commands
2014-01-23 15:35:21 -05:00
John Shahid
b27fbcae1b
wait for the changes to propagate
2014-01-23 15:30:58 -05:00
John Shahid
a35b04e865
fix #199 . make the test timeout configurable.
2014-01-23 15:09:43 -05:00
Ben Johnson
3a5d9096fc
Merge pull request #164 from xiangli-cmu/bug_fix
...
bug fix
2014-01-23 11:53:27 -08:00
John Shahid
b0035a31fd
fix #33 . Don't call WriteHeader more than once
2014-01-23 14:48:45 -05:00
Xiang Li
2987111400
bug fix
2014-01-23 14:45:04 -05:00
Xiang Li
b5dbd6e4a7
Merge pull request #163 from xiangli-cmu/bug_fix
...
p.server instead of server
2014-01-23 11:14:46 -08:00
Xiang Li
46491a8686
p.server instead of server
2014-01-23 14:13:41 -05:00
Ben Johnson
40544a875a
Merge pull request #162 from xiangli-cmu/bug_fix
...
fix peer ae.response bug
2014-01-23 10:48:51 -08:00
Xiang Li
6ffaa2484c
more docs
2014-01-23 11:50:09 -05:00
Xiang Li
0916bba25a
fix peer ae.response bug
2014-01-23 11:45:41 -05:00
Ben Johnson
ad05eb4872
Merge pull request #151 from xiangli-cmu/refactor_proto
...
WIP Refactor proto
2014-01-23 06:18:29 -08:00
Xiang Li
353d5f3803
mrege master
2014-01-23 08:36:56 -05:00
Xiang Li
10bd64768a
remove proto prefix
2014-01-23 08:29:50 -05:00
Julien Ammous
50942ef746
Close #195 . Allow configuring bind address
2014-01-22 15:00:48 -05:00
Ben Johnson
639ffa394f
Merge pull request #159 from goraft/fix_log_open_recovery
...
fix(log_entry.go) reports the right read size
2014-01-22 06:04:01 -08:00
Xiang Li
083797fc39
fix(log_entry.go) reports the right read size(including the length field puls a newline char)
2014-01-22 09:01:42 -05:00
John Shahid
5c1fc6a36c
stop test execution as soon as a failure is detected
2014-01-21 16:46:11 -05:00
John Shahid
a8f6f26138
keep trying until the requests are replayed
2014-01-21 15:11:31 -05:00
Ben Johnson
cc8d0ca2c7
Merge pull request #157 from goraft/snapshot-testing
...
Add snapshot test coverage
2014-01-21 11:59:36 -08:00
Ben Johnson
ec09ee3ba0
Fix cover profile location.
2014-01-21 12:56:17 -07:00
John Shahid
00cb74c10d
ignore the order of points in the assertion
2014-01-21 14:33:34 -05:00
John Shahid
275010200d
document logging to stdout option in the toml file
2014-01-21 13:14:08 -05:00
John Shahid
9888d06ee4
ignore order of points at the same time when comparing series
2014-01-21 13:14:08 -05:00
John Shahid
910e9209d7
rename checkers.go to in_range.go
2014-01-21 12:49:29 -05:00
John Shahid
d88f60d22d
don't compare arrays since the order can change
2014-01-21 12:41:44 -05:00
John Shahid
fe324dbbf1
don't start the sync log loop automatically
2014-01-21 12:41:44 -05:00
John Shahid
7f7d05caa1
Merge pull request #193 from schmurfy/log_stdout
...
Logging to stdout
2014-01-21 09:41:39 -08:00
Ben Johnson
5aa95dfde6
Merge branch 'master' of https://github.com/goraft/raft into snapshot-testing
...
Conflicts:
snapshot.go
2014-01-21 10:12:13 -07:00
Ben Johnson
1d66f6a111
Snapshot test coverage.
2014-01-21 10:00:59 -07:00
Xiang Li
cb78676b7e
Merge pull request #156 from bcwaldon/HeartbeatEventType
...
feat(event): Add HeartbeatEventType
2014-01-21 08:27:43 -08:00
Brian Waldon
15dd02e3f9
feat(event): Add HeartbeatEventType
2014-01-21 08:24:28 -08:00