Commit Graph

4194 Commits

Author SHA1 Message Date
Joe Bryan
a0a48cfd50 restores daemon-mode boot callback 2019-05-09 00:32:07 -07:00
Isaac Visintainer
381a537c9f added http-server loopback backdoor 2019-05-08 22:11:11 -07:00
Joe Bryan
1463954eb6 disables http2 2019-05-08 22:11:08 -07:00
Joe Bryan
4caee32f56 points arvo submodule to lighter-than-eyre, updates pills 2019-05-08 22:10:06 -07:00
Joe Bryan
905b5b6d1a Merge branch 'cc-release' into lighter-than-eyre
* cc-release: (445 commits)
  unmap the db on SIGABRT (for smaller core dump)
  fixes typo in daemon error printf
  adds (disabled) code to print and save comet "keyfile"
  fixes reference counts in _pier_work_boot()
  fixes u3m_soft early-return bail type
  refactors u3v_boot/_lite, fixes reference miscount
  use static keyword for local vortex.c functions
  removes unused .sys member of persistent u3A struct
  Get cross-compilation ready for release. (#1263)
  removes obsolete u3v functions, refactor u3v_boot(_lite)
  Use a typed size_t instead.
  removes obsolete u3m_boot, renames new boot functions
  Set the maximum event log size to forty gigabytes.
  removes duplicate manage.c init, fixes call sites
  Update link to docs for swap space help
  Add `git` to default.nix dependencies
  General patch cleanup
  Attempt at fixing compile on CI.
  Fix multi-event commit.
  Theoretically multi-event writes.
  ...
2019-05-08 22:09:51 -07:00
Joe Bryan
f793e5da2d
Merge pull request #1272 from urbit/ccr-pier-leak
cc-release: fix memory bug, tweak limits and core dumps
2019-05-07 11:37:25 -07:00
Joe Bryan
0e972f04c6 unmap the db on SIGABRT (for smaller core dump) 2019-05-06 21:55:52 -07:00
Joe Bryan
2a29a10c9d fixes typo in daemon error printf 2019-05-04 21:22:37 -07:00
Joe Bryan
e171596d98 adds (disabled) code to print and save comet "keyfile" 2019-05-04 21:22:37 -07:00
Joe Bryan
3d7b82936e fixes reference counts in _pier_work_boot() 2019-05-04 21:22:37 -07:00
Joe Bryan
7e6a44a115
Merge pull request #1270 from urbit/ccr-noun-clean
cc-release: libnoun cleanup
2019-05-03 10:24:56 -07:00
Joe Bryan
f3867966bb fixes u3m_soft early-return bail type 2019-05-03 08:13:50 -07:00
Joe Bryan
dc1bf0c7d2 refactors u3v_boot/_lite, fixes reference miscount 2019-05-03 08:12:17 -07:00
Joe Bryan
a16450f62f use static keyword for local vortex.c functions 2019-05-02 17:10:09 -07:00
Joe Bryan
ff0be87001 removes unused .sys member of persistent u3A struct 2019-05-02 16:26:24 -07:00
Joe Bryan
7cd0b09cd4 Merge branch 'cc-release' into ccr-noun-clean
* cc-release:
  Get cross-compilation ready for release. (#1263)
  Use a typed size_t instead.
  Set the maximum event log size to forty gigabytes.
2019-05-02 16:26:11 -07:00
benjamin-tlon
ade1e59ce1
Get cross-compilation ready for release. (#1263)
* Add cross-compilation for `lmdb`.
* Got built caching working in CI with `cachix`.
* Cache cross compilation dependencies and toolchains.
* Do release builds in CI.
* Upload release builds to `bootstrap.urbit.org` on successful build.
* Lots of optimization work for CI.
* Boot from a solid pill in CI and load arvo with `-A`.
* Increase `vere` HTTP timeout to 15m.
2019-05-02 13:13:48 -07:00
Elliot Glaysher
17bbe52524
Merge pull request #1269 from urbit/cc-lmdb-map-size
Use a 40 gigabyte log size
2019-05-02 11:51:34 -07:00
Joe Bryan
08a181a6e2 removes obsolete u3v functions, refactor u3v_boot(_lite) 2019-05-02 11:35:52 -07:00
Elliot Glaysher
c06e8dbdb4 Use a typed size_t instead. 2019-05-02 10:50:59 -07:00
Joe Bryan
1565eede94 removes obsolete u3m_boot, renames new boot functions 2019-05-02 10:46:19 -07:00
Elliot Glaysher
7d246813f7 Set the maximum event log size to forty gigabytes. 2019-05-02 10:45:28 -07:00
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