Commit Graph

95 Commits

Author SHA1 Message Date
C. Guy Yarvin
3ed1eb11c4 Memorable before jet persistence change. 2014-10-12 11:53:13 -07:00
C. Guy Yarvin
ae6aa44695 Various fixes and improvements. 2014-10-09 18:27:02 -07:00
C. Guy Yarvin
014b032f8e About to test garbage collector. 2014-10-08 19:20:57 -07:00
C. Guy Yarvin
a71a657680 compiles and links. 2014-09-10 17:01:32 -07:00
ault011
9d55744f75 WIP single-file site 2014-08-26 19:00:09 -07:00
TJIC
a1bc6dcbf8 libuv 0.11 working 2014-08-22 17:33:27 -04:00
TJIC
bd7403a034 progress on libuv11 2014-08-20 18:09:51 -04:00
Jared Hance
201a115f04 Merge branch 'master' into klay
Conflicts:
	urb/urbit.pill
2014-07-29 13:25:18 -04:00
C. Guy Yarvin
1ae027d6cf Ford compiles - still needs some syntax. 2014-07-24 13:29:16 -07:00
Jared Hance
4b88daa0cc Can boot subs now! 2014-07-24 11:11:40 -04:00
pcmonk
4ace669911 raft fix (maybe) 2014-07-09 18:08:55 -07:00
~hatteb-mitlyd
98a44cde66 total hack to get effects processed sooner 2014-06-18 12:04:27 -07:00
C. Guy Yarvin
4628a5f531 More vane restructuring. 2014-06-05 15:14:49 -07:00
C. Guy Yarvin
b445d373ed %batz reasonably healthy on nextbreach. 2014-06-05 12:17:25 -07:00
~hatteb-mitlyd
4c51fa75ee crash when crude fails 2014-06-03 11:10:24 -07:00
~hatteb-mitlyd
c819b4c034 Merge remote-tracking branch 'origin/newbreach'
Update protocol for breach.

Conflicts:
	f/trac.c
	urb/urbit.pill
	urb/zod/arvo/zuse.hoon
	v/raft.c
2014-05-30 17:56:12 -07:00
C. Guy Yarvin
534e1a9090 Perfect GHETTO. 2014-05-30 12:47:47 -07:00
C. Guy Yarvin
bb4696d9aa Only the GHETTO can save the GHETTO. 2014-05-30 12:05:03 -07:00
C. Guy Yarvin
93bd99a4d2 GHETTO. 2014-05-30 11:44:08 -07:00
C. Guy Yarvin
f4e45a67ab GHETTO. 2014-05-30 11:43:48 -07:00
~hatteb-mitlyd
f97058f0b8 more profiling detritus
Conflicts:
	v/raft.c
2014-05-30 11:42:49 -07:00
~hatteb-mitlyd
b23c701c2a more profiling detritus 2014-05-30 11:09:47 -07:00
~hatteb-mitlyd
3566984894 crappy punk-perf 2014-05-29 12:19:55 -07:00
~hatteb-mitlyd
3e869096b8 Merge remote-tracking branch 'urbit/master' into newbreach
Conflicts:
	urb/urbit.pill

Generate new pill.
2014-05-09 13:26:22 -07:00
~hatteb-mitlyd
4c967b2d60 avoid use-after-free in raft.c 2014-05-09 12:39:14 -07:00
Steve Dee
fab6bcdd80 Remove crya 2014-05-08 17:13:25 -07:00
Steve Dee
c9a4cf19cf 64-bit entry numbers 2014-04-08 09:25:49 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
Steve Dee
fd3c03fa73 Options cleanup
Remove sow, pas, and rez. Add comments with flags and short
descriptions. Also correctly bound ports.
2014-03-31 07:46:54 -07:00
Steve Dee
8703249546 Ignore revo from prior terms 2014-03-14 11:02:46 -07:00
Steve Dee
607c83d683 Various fixes and cleanups 2014-03-14 11:02:45 -07:00
Steve Dee
079c4f7696 Remove useless assert... 2014-03-12 11:54:14 -07:00
Steve Dee
b71e6f161d Remove old fprintf 2014-03-12 11:52:11 -07:00
Steve Dee
27ec17b711 TODOs 2014-03-12 11:35:30 -07:00
Steve Dee
c56cfccc7d Bail instead of exit 2014-03-12 11:35:30 -07:00
Steve Dee
e787049b65 Clean up timer logic 2014-03-12 11:35:29 -07:00
Steve Dee
1627b6e78c More intelligently load from sist 2014-03-12 11:35:26 -07:00
Steve Dee
399530d379 Use same election timeout always
In particular, we wait at least 150ms after starting up before declaring
an election, to give the old leader a chance to send us a heartbeat.
2014-03-10 16:25:48 -07:00
Steve Dee
f4f1c711d5 New event log format including term and type 2014-03-10 16:14:21 -07:00
Steve Dee
6a3a939c4a Fix for duplicate vote responses 2014-03-10 12:18:18 -07:00
Steve Dee
ad70fa2380 Check for null vog_c 2014-03-10 11:52:49 -07:00
Steve Dee
a5b23546a6 Bump votes on restore 2014-03-07 19:25:03 -08:00
Steve Dee
139c46dd63 Fix revo logic 2014-03-07 19:16:08 -08:00
Steve Dee
be218d4f8a More aggressive reconnecting 2014-03-07 19:12:27 -08:00
Steve Dee
c5bb5bb5e7 Moronic key-value store
This is kind of dumb, but we need to persist stuff for Raft, and
we can't touch noun state from followers.
2014-03-07 19:12:27 -08:00
Steve Dee
8aa97708f4 Fix a stupid in c3_log_every 2014-03-07 19:12:21 -08:00
Steve Dee
1786c0a048 Cleanup 2014-03-07 16:47:30 -08:00
Steve Dee
7371ba09fc Fix a segfault on startup :( 2014-03-07 16:46:46 -08:00
Steve Dee
551f28b594 Log on bump to candidate 2014-03-07 16:26:15 -08:00
Steve Dee
f92eaf970c Clean up Raft options and init
I opted to keep u2_opts to just numbers, strings, and beans for now and
parse them to peer names in the Raft init code.
2014-03-07 16:19:38 -08:00