Commit Graph

2575 Commits

Author SHA1 Message Date
Steven Dee
8ef45612dd Unsigned format specifiers 2014-03-07 20:01:09 +00:00
Steve Dee
3383de7938 Comments 2014-03-07 20:01:04 +00:00
Steve Dee
1e10cd5d95 Clean up connections
The code seems much less racy now.
2014-03-07 20:00:44 +00:00
Steven Dee
22ca1dfdf0 Rejigger connection killing 2014-03-07 20:00:44 +00:00
Steven Dee
53fafd25fd update -> note, and call it 2014-03-07 20:00:44 +00:00
Steven Dee
7c7c044525 Add ron_u->liv
This prevents us from double-killing connections in races, e.g. the
one between _raft_rest_name and _raft_connect_cb.
2014-03-07 20:00:44 +00:00
Steven Dee
1a2c9342bb Merge pull request #121 from sillsm/master
Travis CI support for GCC and Clang
2014-03-07 11:02:21 -08:00
sillsm
c0b85ea2a9 Support for GCC and CLANG 2014-03-07 13:56:16 -05:00
sillsm
be50f8ebc5 Added CI status notifier 2014-03-07 13:52:48 -05:00
sillsm
ebd3656f19 Update .travis.yml 2014-03-07 13:51:32 -05:00
sillsm
8261a2e65f Update .travis.yml 2014-03-07 13:43:49 -05:00
sillsm
72fc4800c4 Update .travis.yml 2014-03-07 13:40:59 -05:00
Steven Dee
ec7a08f6df Merge branch 'fucking-raft'
As of this commit, connection maintenance and leader election in
multi-instance raft mode are working. We don't sync events yet. We
also pick an inopportune time to boot -- since our boot process is
synchronous and generally takes longer than 300ms, the first thing
we do after becoming leader is go unavailable, causing a new leader
to be picked.

In other words, raft multi-instance mode isn't there yet. But
single-instance mode should be unaffected by any of this.
2014-03-06 10:56:20 -08:00
Steven Dee
60e63dd869 s/raft/sist/ 2014-03-06 10:53:32 -08:00
Steven Dee
faa8e67c50 Nuke c-capnproto 2014-03-06 10:50:27 -08:00
Steven Dee
e5a11b5aa0 Minor fixes and cleanup 2014-03-06 10:18:36 -08:00
Steve Dee
27e45b8c48 Fewer TODOs 2014-03-06 08:59:21 -08:00
Steve Dee
cc345da3e4 Clean up and dedup message writing 2014-03-06 08:59:21 -08:00
Steve Dee
9e2f12fb80 Leader election appears to work 2014-03-06 08:59:20 -08:00
Steve Dee
2e0f7df85c Duplex connections 2014-03-06 08:59:20 -08:00
Steve Dee
66fedab1fe Raft message sending working 2014-03-06 08:59:20 -08:00
Steve Dee
1ea754ef88 Some TODOs 2014-03-06 08:59:20 -08:00
Steve Dee
008558a1f7 WIP hand-rolled parsing, read side 2014-03-06 08:59:20 -08:00
Steve Dee
85c3cf4f5e Use uv_ip4_addr 2014-03-06 08:59:20 -08:00
Steve Dee
cc096a99af Comment log lines 2014-03-06 08:59:20 -08:00
Steve Dee
f17f0add72 More sanity checking and cleanup 2014-03-06 08:59:20 -08:00
Steve Dee
af91e4a2c1 WIP more work 2014-03-06 08:59:20 -08:00
Steve Dee
d045f31f23 Rejigger the event loop again 2014-03-06 08:59:20 -08:00
Steve Dee
3f7e6d5e94 More work 2014-03-06 08:59:20 -08:00
Steve Dee
abc5d4fb0d More work 2014-03-06 08:59:19 -08:00
Steve Dee
5507162089 Comments 2014-03-06 08:59:19 -08:00
Steve Dee
424af0354d WIP Raft network base 2014-03-06 08:59:19 -08:00
Max Sills
78bf37a0fb mod travis.yml 2014-03-05 15:43:11 -08:00
Max Sills
73098035fc First attempt at travis yml 2014-03-05 15:36:10 -08:00
sillsm
a063527514 Update README.markdown
Pointing to updated docs
2014-03-05 17:57:37 -05:00
C. Guy Yarvin
b1c3c8d789 Merge branch 'master' of github.com:urbit/urbit 2014-03-05 11:00:43 -08:00
Gavin Whelan
c85fd1fe35 Fixed Linux specific bug causing lack of stack overflow traces. 2014-03-04 14:48:59 -08:00
C. Guy Yarvin
f8cb035962 Merge branch 'master' of github.com:urbit/urbit 2014-03-04 11:17:49 -08:00
C. Guy Yarvin
3b98f316a0 Various fixes and improvements. 2014-03-04 11:17:34 -08:00
C. Guy Yarvin
dd4a42b345 Some HTTP client fixes. 2014-03-03 11:51:35 -08:00
C. Guy Yarvin
3400b6bacb Working HTTP client. 2014-03-02 14:31:03 -08:00
C. Guy Yarvin
16dd948e7d Attempted fix to an intermittent sync event bug. 2014-02-27 10:33:20 -08:00
C. Guy Yarvin
a7055224fa Various HTTP client fixes. 2014-02-26 17:58:40 -08:00
C. Guy Yarvin
af81e7c7b4 Trivial test cahnge. 2014-02-26 16:42:43 -08:00
C. Guy Yarvin
54ed2bdcb0 More C files. 2014-02-26 16:40:53 -08:00
C. Guy Yarvin
34e01d5dcd Compile cttp. 2014-02-26 16:40:08 -08:00
C. Guy Yarvin
cc255a4c49 New cttp file. 2014-02-26 16:39:48 -08:00
C. Guy Yarvin
a4243793a3 Added cttp. 2014-02-26 16:37:47 -08:00
Steve Dee
edc28b9ba7 Get new event loop working with checkpoints
Modifying u2_reck is a bad idea in the face of checkpoints. Just stick
everything on roe. This actually cleans up the logic a bit -- we can
execute non-core-modifying actions immediately, rather than on the next
tick.
2014-02-25 12:18:18 -08:00
Steve Dee
d7e4c46150 Revert "Revert "Merge remote-tracking branch 'urbit/master' into master""
This reverts commit dc6f72fa0a8ff2097b1e9c900ebec444c0d4c24f.
2014-02-25 12:18:07 -08:00