Joe Bryan
1604313207
removes duplicate manage.c init, fixes call sites
2019-05-02 10:42:26 -07:00
Joe Bryan
46b14af63b
Merge branch 'master' into ccr-noun-clean
...
* master:
Update link to docs for swap space help
Add `git` to default.nix dependencies
Handle trailing newline in keyfile.
2019-05-02 10:40:57 -07:00
Jared Tobin
ac6a3f03bc
Merge pull request #1265 from jglukasik/patch-2
...
Add `git` to default.nix dependencies
2019-05-02 21:10:45 +08:00
Jared Tobin
83ddfed066
Merge pull request #1267 from jglukasik/patch-3
...
Update link to docs for swap space help
2019-05-02 21:07:53 +08:00
Joseph Lukasik
3c1366180b
Update link to docs for swap space help
2019-05-01 15:18:51 -07:00
Joseph Lukasik
e43da61505
Add git
to default.nix dependencies
...
Fixes a "No such file or directory: 'git': 'git'" error in running ./scripts/nixbuild on NixOS
2019-05-01 13:24:34 -07:00
Jared Tobin
e7dc361918
Merge pull request #1258 from jfranklin9000/master
...
Handle trailing newline in keyfile.
2019-05-01 19:09:37 +08:00
Elliot Glaysher
191c907995
Merge pull request #1259 from urbit/cc-batched-writes
...
Batch event log commits
2019-04-29 16:21:53 -07:00
Elliot Glaysher
60196a9910
General patch cleanup
2019-04-29 14:23:27 -07:00
Elliot Glaysher
812b841f20
Attempt at fixing compile on CI.
2019-04-29 13:45:40 -07:00
Elliot Glaysher
06cfb81d60
Fix multi-event commit.
2019-04-29 10:59:15 -07:00
Elliot Glaysher
2fe916faac
Merge remote-tracking branch 'origin/cc-release' into cc-batched-writes
2019-04-29 10:16:33 -07:00
Elliot Glaysher
8d691a63af
Theoretically multi-event writes.
...
I'm having trouble testing this, though. Every constructed write request
is still only 1 event.
2019-04-29 10:06:03 -07:00
John Franklin
017cb4cb15
Handle trailing newline in keyfile.
2019-04-27 20:04:56 -05:00
Joe Bryan
3d61e63d7a
Merge pull request #1254 from urbit/bs/cachix
...
Use `cachix` in CI.
2019-04-26 17:06:40 -07:00
Joe Bryan
a378aac5ff
Merge pull request #1255 from urbit/ccr-cleanup
...
cc-release general cleanup
2019-04-26 14:53:12 -07:00
Joe Bryan
247a09e8cd
Merge pull request #1256 from urbit/ccr-vent-spin
...
cc-release: runs event state machine once per libuv turn
2019-04-26 14:52:32 -07:00
Joe Bryan
2c3bf6a9f2
corrects inaccurate u3m_reclaim comment in worker
2019-04-26 14:38:24 -07:00
Joe Bryan
e4db6edb24
restores perror() calls in terminal hijack/lojack to avoid possible reentrance
2019-04-26 14:36:38 -07:00
Joe Bryan
4f3f3897f8
moves _pier_apply into uv_idle_t, runs once per libuv turn
2019-04-26 14:24:01 -07:00
Joe Bryan
9196f7cc4a
removes obsolete members from persistent u3A struct
2019-04-26 13:59:37 -07:00
Joe Bryan
56750c5f59
updates worker to store interim lifecycle events in u3V
2019-04-26 13:57:11 -07:00
Joe Bryan
1f86128b69
restores external arvo time on event failure
2019-04-26 13:56:42 -07:00
Joe Bryan
be254c57ae
moves mug chaining enforcement entirely into the worker
2019-04-26 13:31:29 -07:00
Joe Bryan
b6b84b5369
updates the worker to track in-progress vs completed event numbers
2019-04-26 11:27:20 -07:00
Joe Bryan
45fff7f8da
restores kernel mug when restarting the worker (on %play)
2019-04-26 11:13:49 -07:00
Elliot Glaysher
51253dca5d
Build write request struct.
2019-04-26 11:08:10 -07:00
Joe Bryan
6b362c4008
tweaks event reference counting and fixes mis-fixed memory leak
2019-04-26 08:55:26 -07:00
Joe Bryan
3900d1a0c2
removes superfluous seeding of the openssl prng
2019-04-25 23:17:59 -07:00
Joe Bryan
edc142019e
replaces perror() with u3l_log()
2019-04-25 23:17:59 -07:00
Joe Bryan
3b9a19d2f9
adds lmdb to library version report
2019-04-25 23:17:59 -07:00
Joe Bryan
5d0f1e1465
Merge branch 'master' into ccr-cleanup
...
* master:
bump urbit version number
if sweep gives 0 and reference count != 0, leak
added urbit, curl and argon2 to version reporting (urbit -R)
[CI] bump pinned arvo commit
bump urbit version number to 0.7.3
Consistently use "boot:" printf prefix
Be more precise about the snapshot contents
Re-add printf to notify of snapshot download
2019-04-25 22:56:14 -07:00
Elliot Glaysher
e4d7aa8aa6
Merge pull request #1253 from urbit/cc-event-replay-check
...
Change event log items and verify mugs on replay
2019-04-25 19:52:28 -07:00
Benjamin Summers
dcfe8aa162
Don't spam result-* files.
2019-04-25 17:10:22 -07:00
Benjamin Summers
8af0f5fa77
Use cachix
in CI.
2019-04-25 17:05:16 -07:00
Joe Bryan
df59b1a489
Merge branch 'cc-release' into cc-event-replay-check
2019-04-25 17:04:39 -07:00
Joe Bryan
8fe2835e90
Merge pull request #1251 from BernardoDeLaPlaz/vere_build_warnings
...
remove all build warnings
2019-04-25 16:53:11 -07:00
benjamin-tlon
1c4732ca22
Run urbit tests on the debug build, with GC enabled. ( #1252 )
...
* Run tests with `urbit-debug` and enable GC while running tests.
* Build `urbit-debug` with `-O0`.
2019-04-25 16:45:39 -07:00
Elliot Glaysher
ce0c78d1ea
Cleanup
2019-04-25 16:35:29 -07:00
Elliot Glaysher
563214c2a2
Verify mugs on log replay to detect nondeterministic replay.
...
Joe helped write the worker/main.c changes so that we consistently
return the mug of the current state on each %done message. Then
enabled a check in _pier_work_complete() which asserts that the
recomputed event produces the same state as the next event was
expecting to be applied to.
2019-04-25 16:22:41 -07:00
BernardoDeLaPlaz
043333f767
-Werror turned on
2019-04-25 18:23:53 -04:00
BernardoDeLaPlaz
e9a2784982
Merge branch 'vere_build_warnings' of https://github.com/BernardoDeLaPlaz/urbit into vere_build_warnings
2019-04-25 18:07:06 -04:00
BernardoDeLaPlaz
c0403d2096
code review
2019-04-25 18:05:26 -04:00
Elliot Glaysher
a4ce72355d
Store [mug job] instead of the entire IPC message.
2019-04-25 14:57:26 -07:00
Joe Bryan
70bc0cc5dd
Merge pull request #1245 from urbit/ccr-replay-reform
...
cc-release: finish event replacement
2019-04-25 13:58:35 -07:00
~rigdyn-sondur
8db9653168
Merge branch 'cc-release' into vere_build_warnings
2019-04-25 16:37:08 -04:00
Joe Bryan
ac59fb749c
updates arvo submodule and brass.pill to latest arvo next
2019-04-25 13:35:34 -07:00
BernardoDeLaPlaz
22fe68f67c
fix one new build warning
2019-04-25 16:24:55 -04:00
Joe Bryan
4258c3c8ba
Merge branch 'cc-release' into ccr-replay-reform
...
* cc-release: (26 commits)
Rmoves all calls to u3m_bail() in the database layer. Everything returns an error code.
Cleaner slog replay + fix spelling error
Misc cleanup blocking CC-Release. (#1249 )
Use Joe's suggested change to u3_pier_snap().
u3m_lmdb -> u3_lmdb
updates libnoun to ignore SIGINT upon completion of a soft
Cleanup
Don't print %slog on replay.
Finish cc-release cross-compilation. (#1202 )
removes clay mount auto-sync on restart
Cleanup and enable MDB_NOOVERWRITE.
Remove most u3_foil_* functions.
Read the latest event number out of lmdb.
Event log replay succeeds.
removes obsolete, commented-out signal handling in main.c
First version which appears to replay most of the event log. Still crashes at the end.
corrects typos in libnoun commented-out code
consolidates daemon signal handling
consistently aborts immediately on ctrl-z (SIGTSTP)
The entire log appears to be loaded from the database; still need to queue events, but exciting
...
2019-04-25 13:06:03 -07:00
Elliot Glaysher
0a0d7e0e57
Merge pull request #1248 from urbit/cc-lmdb-log-storage
...
Use lmdb for log storage instead of hand-rolled structure
2019-04-25 12:50:49 -07:00