Steve Dee
6143fe46b2
Back out log format version bump
2014-02-24 10:29:08 -08:00
Steve Dee
242e888c2c
Get entry number from raft data structure directly
2014-02-24 10:17:26 -08:00
Steve Dee
575f28cef0
Commit on next libuv cycle in single-instance mode
2014-02-19 13:57:17 -08:00
Steve Dee
2fc0ccf2d1
Fix event playback
2014-02-19 11:51:44 -08:00
Steve Dee
a957cd649e
WIP cleanup and fixes
2014-02-18 16:48:46 -08:00
Steve Dee
e0e37cc569
Splinter disk persistence and reck stuff back out
2014-02-17 18:21:24 -08:00
Steve Dee
704dfd6d85
Write term and log type, in preparation for raft
2014-02-17 17:56:42 -08:00
Steve Dee
6182bd7d14
New event loop working, super rough cut
2014-02-14 15:15:38 -08:00
Steve Dee
27b50018a4
More loop -> raft, add u2_raft_boot
2014-02-12 17:27:09 -08:00
Steve Dee
2d5f78e39a
WIP Move lug_u to u2_raft
2014-02-12 11:50:24 -08:00
Steve Dee
5db81ccab7
Trivial fixups
2014-02-12 11:50:05 -08:00
Steve Dee
0ccaadd10b
WIP raft single instance
...
Shove all our disk stuff crudely into raft.c.
2014-02-11 17:14:25 -08:00
Steve Dee
28fe4ec482
WIP rafty loop.c
...
_lo_save() sticks events on roe for processing in later calls to
_lo_work().
2014-02-11 13:13:30 -08:00
Steve Dee
580a7323f4
WIP Make _lo_work rafty
...
Carts are now batches of events waiting to be or just recently
persisted. _lo_work calls u2_reck_kick on the last batch of events,
removes every batch that's been through Raft, and then prepares the next
batch.
TODO make _lo_punk et al stick things on roe
TODO move disk persistence to raft.c
TODO raft_push: lo_open / mark / lo_shut
2014-02-11 12:57:41 -08:00
Steve Dee
d69aaf1491
Make u2_reck_plan push to roe
2014-02-10 16:07:22 -08:00
Steve Dee
85085f713e
Move srand call, seed from pid
2014-02-10 16:07:22 -08:00
Steve Dee
5a16660af1
Skeleton for raft
2014-02-10 16:07:09 -08:00
Steve Dee
6df5fb3155
New-style raft options
2014-02-05 15:25:57 -08:00
Steve Dee
c91e950eb7
Add raft listener/peers
2014-02-05 15:25:57 -08:00
Steve Dee
fc51f17322
Add _main_readw
2014-02-05 15:25:57 -08:00
Curtis Yarvin
d5421bf717
Fix -I.
2014-02-03 21:55:19 +00:00
C. Guy Yarvin
a5fee9936b
Various fixes and improvements.
2014-01-27 11:09:56 -08:00
Curtis Yarvin
00e218d76e
Merge branch 'master' of github.com:urbit/urbit
2014-01-27 18:49:07 +00:00
Curtis Yarvin
ae489b86da
Quick 64-bit fixes.
2014-01-27 18:48:55 +00:00
Steven Dee
1ab1528749
Warn about unset URBIT_HOME
2014-01-26 21:31:48 -08:00
C. Guy Yarvin
997c32f192
Various fixes and improvements.
2014-01-20 13:50:54 -08:00
Steve Dee
2b1077899e
Add hostname
2014-01-17 09:42:47 -08:00
Steve Dee
ed09e5d12e
Bring up listeners after boot
2014-01-17 00:12:05 -08:00
Steve Dee
97eeb27d41
Batch pier creation
2014-01-15 17:41:30 -08:00
Steve Dee
b8aec6e5d8
Get a random UDP port...
2014-01-15 13:00:47 -08:00
Steven Dee
d7052254fe
Fix warning on implicit wait decl
2014-01-15 20:21:04 +00:00
Steve Dee
dcf3785363
Sort opts, remove unused -s
2014-01-15 11:59:08 -08:00
Steve Dee
4605ac9c66
Fix ames port logic
...
Hey, we have a -p flag. Neat.
2014-01-15 11:21:50 -08:00
Steve Dee
e434374855
Initialize por_s
2014-01-15 11:19:30 -08:00
Kingdon Barrett
7d19f2ed33
-p to demand a listen port in ames
2014-01-15 12:16:50 -05:00
Steve Dee
712968d37e
Actually fix the history-eating bug
2014-01-14 18:37:45 -08:00
Steve Dee
bddcfefddd
Hack to fix the history-eating bug
2014-01-14 18:13:58 -08:00
C. Guy Yarvin
6f1ad34345
Fix interrupt crash.
2014-01-07 10:43:50 -08:00
C. Guy Yarvin
3a59c5f0d4
Merge branch 'master' of github.com:urbit/urbit
2014-01-06 12:49:08 -08:00
C. Guy Yarvin
73ff3bb203
Merge branch 'funbreach'
...
Conflicts:
urb/urbit.pill
2014-01-06 12:46:49 -08:00
C. Guy Yarvin
98006a2851
Last checkin on funbreach.
2014-01-06 12:37:42 -08:00
C. Guy Yarvin
2f83452f42
Refactor peek.
2014-01-05 16:02:34 -08:00
C. Guy Yarvin
a259e04a28
Various fixes and improvements.
2014-01-03 23:28:16 -08:00
Steve Dee
64a1d9a506
Update comment with current blip
2013-12-31 21:49:54 +01:00
Steve Dee
d95f2cc376
Proper daemon mode noun garbage fix
2013-12-29 17:30:45 +01:00
Steve Dee
f9a65caf9e
Horrible hack to prevent lin from getting GCed
...
Fixes the daemon mode noun leak, sort of, if you squint at it. Better
solution soon to come.
2013-12-29 13:57:03 +01:00
Steve Dee
eff8a1ba45
Don't u2z(u2_nul)
2013-12-29 13:57:03 +01:00
Steve Dee
74bae0df22
Partially fix noun leak in daemon mode
...
Still some regular noun garbage being generated, but it's a bit less now.
2013-12-29 13:07:38 +01:00
C. Guy Yarvin
3855896562
Don't assert on missing files.
2013-12-26 14:35:00 -05:00
Steve Dee
aba13f1120
Output hi/lojacked fprintf in daemon mode
2013-12-19 10:37:01 -08:00