vere-v3.0
Description
The big ticket items for this vere release include the epoch system, support for persistent nock caching, informal pings and MDNS local routing. The epoch system is functional immediately after upgrading to vere-v3.0, the other features are reliant on the 411k release slated for ~2024.3.18.
This release is not backwards compatible with vere-v2.12 and earlier. A ship cannot be downgraded after upgrading to vere-v3.0.
Epoch System
The epoch system cuts the previously uniform event log into "epochs" associated with a specific runtime version. The epochs are represented as directories in the file system. Here is an example of epochs under the Foundation galaxy ~deg
that has been running the vere-v3.0 pre-release for a while:
ls ./deg/.urb/log/
0i0 0i95419173 0i98550959 0i99182407 0i99543593 data.mdb lock.mdb
Each epoch folder is identified by an event number and includes a snapshot and a part of the event log. If the snapshot of a ship gets corrupted the ship may have to replay; the epoch system makes this process more pleasant since the ship no longer has to replay the entire event log. A replay can be initiated from the latest valid epoch, significantly speeding up the process.
The latest snapshot for a ship is situated in the latest epoch, 0i99543593
in the above case. All other epochs are safe to relocate elsewhere or even delete.
The default behavior for the epoch system is to create a new epoch every time the vere runtime version changes. A user may also manually create a new epoch by using the urbit roll
command.
The urbit chop
command now deletes all epochs except for the last two.
What's Changed
- jets: match hoon changes to bif:by by @ashelkovnykov in #439
- Merge develop to next/kelvin/411 by @pkova in #505
- pier: decrement arvo kelvin by @pkova in #506
- Merge master back to develop after vere-v2.12 by @pkova in #517
- Update VERSION to 3.0 by @pkova in #518
- Epoch System by @matthew-levan in #459
- u3: rewrites jam atom encoding to maximize its range by @joemfb in #363
- Fixed next/kelvin workflow to not upload to docker by @mopfel-winrux in #529
- vere: support stack traces on failing boot / full replay by @joemfb in #523
- Fix advisory types in dor/mor jets. by @sigilante in #534
- hoon: 138k by @joemfb in #526
- epoc: cleanup by @joemfb in #531
- u3: inline cell deconstruction by @joemfb in #536
- u3: declares %139 jets for +scot and +scow by @joemfb in #537
- ames: resolve galaxy ips using ipv4 only by @pkova in #543
- vere: refactors event log metadata reading to avoid the loom by @joemfb in #547
- disk: check for null pointer when writing through fak_o by @pkova in #548
- serf: adds new, stateful memory-pressure thresholds by @joemfb in #546
- UIP-0103: Persistent Nock Caching + Loom Migration Framework + Pointer Compression Migration Refactor by @matthew-levan in #508
- u3: adjust free-list sizes by @joemfb in #539
- serf: reclaim from persistent memoization cache by @joemfb in #549
- ames: handle %nail gift, lanes to vere cache by @pkova in #541
- u3: adds unconditional freelist migration as workaround by @joemfb in #551
- jets: refactors and optimizes tree-math jets by @joemfb in #397
- Fix typo in ames.c by @sigilante in #550
- u3: redeclare inline u3x_atom for linkability by @joemfb in #552
- jet
+mate
arm by @sidnym-ladrut in #512 - fixes +fitz jet mismatch by @mikolajpp in #444
- build: fetch
urcrypt
instead of vendoring it by @matthew-levan in #524 - u3: removes free-list ream from v3 migration by @joemfb in #553
- build: install
autoconf-archive
in docker workflow by @matthew-levan in #554 - build: fix docker workflow by @matthew-levan in #555
- u3: restore old-style, efficient reap to u3m_love() by @joemfb in #538
- u3: optimizes u3i_edit (nock opcode 10) by @joemfb in #362
- merge develop into next/kelvin/411 by @joemfb in #560
- ames: account for variable-size num fragments by @yosoyubik in #561
- lick: Shut bug by @mopfel-winrux in #563
- mdns: add mdns for local network routing by @pkova in #511
- stun: minimal working client/server by @yosoyubik in #545
- ames: clean up libuv timers by @pkova in #568
- jets: declare %138 separately by @joemfb in #567
- ames, http: declare gang correctly when scrying by @pkova in #569
- bazel: change dbus source since the official site is down by @pkova in #572
- bazel: looks like this makes the docker CI work by @pkova in #573
- Merge develop to next/kelvin/411 by @pkova in #571
- ames: independent galaxy dns resolution for stun by @yosoyubik in #574
- ames: fix galaxy domain check by @yosoyubik in #575
- Merge next/kelvin/411 to develop by @pkova in #576
- Merge develop to release for vere-v3.0-rc1 by @pkova in #578
- vere: add --serf-bin option to provide path to serf by @eamsden in #566
- Revert "vere: add --serf-bin option to provide path to serf" by @matthew-levan in #583
- mdns: distinguish fake ships in the mdns namespace by @pkova in #584
- bazel: bump zlib by @pkova in #590
- fix epoch migration bug by @matthew-levan in #592
- ames: fix ames czar prints by @yosoyubik in #595
- epoc: fix log metadata write bug, make pre-release repair more robust by @joemfb in #596
- vere: fix chop by @joemfb in #599
- vere: fix epoc lifecycle error handling, enforce invariants by @joemfb in #602
- http: do not double free scry cache path by @pkova in #606
- v3-migrate: ream before reclaiming bytecode caches by @pkova in #608
- Revert "u3: restore old-style, efficient reap to u3m_love()" by @pkova in #612
- vere: adds --gc-early flag to pack and meld subcommands by @pkova in #615
- Release vere-v3.0 by @pkova in #619
New Contributors
- @sidnym-ladrut made their first contribution in #512
- @mikolajpp made their first contribution in #444
- @yosoyubik made their first contribution in #561
Full Changelog: vere-v2.12...vere-v3.0