Commit Graph

14229 Commits

Author SHA1 Message Date
Philip Monk
f230e2ec2d Merge commit 'eb324b4fa4c2b08c76317601c88708c624f98c70' 2023-01-03 11:39:08 -07:00
Philip Monk
2f17a17406 Revert "wip"
This reverts commit 0e16d82a46.
2023-01-03 11:37:43 -07:00
Philip Monk
56ceee5006 Revert "Merge pull request #6171 from urbit/jb/release/vere"
This reverts commit 21f7023198, reversing
changes made to 1e09188065.
2023-01-03 11:24:54 -07:00
Joe Bryan
eb324b4fa4 vere: bumps version 2022-12-20 18:55:39 -05:00
Joe Bryan
9a16d670e6
Merge branch 'master' into jb/release/vere 2022-12-16 23:07:10 -05:00
Joe Bryan
4e9de85aba vere: refactors http server init for better error messages 2022-12-16 11:17:53 -05:00
Joe Bryan
1f84fcf262 vere: fix queu short-args parsing 2022-12-16 10:00:22 -05:00
Joe Bryan
aa83de5e8b vere: bumps version 2022-12-16 00:52:19 -05:00
Joe Bryan
4b5494fb85 vere: fix "queu" command argument parsing 2022-12-16 00:34:54 -05:00
Joe Bryan
4d08d874c6 vere: make full replay (play -f) command bypass corruption 2022-12-16 00:34:15 -05:00
Joe Bryan
f095679e02
Merge pull request #6167 from joemfb/ctrl-z-replay
vere: support ctrl-z in play command
2022-12-15 22:04:33 -05:00
Joe Bryan
124aec68ad term: skip prompt refresh on ^c under -t 2022-12-15 21:48:34 -05:00
Joe Bryan
8671d3091d u3: make the fault handler robust against initialization reorder 2022-12-15 21:26:30 -05:00
Joe Bryan
f7fd944e02 mars: cleanup event log on exit 2022-12-15 21:22:54 -05:00
Joe Bryan
f4235ebc91 vere: handle ctrl-z like ctrl-c in play command 2022-12-15 21:22:36 -05:00
Zach Alberico
fd766faa03 Fix build break typo in azimuth
Fixes typo introduced in 0e16d82a46
2022-12-15 13:21:19 -08:00
Joe Bryan
e0320ddfc2 vere: bumps version 2022-12-15 14:18:56 -05:00
Joe Bryan
8e677537c0 mars: fix bail:meme retry counter 2022-12-15 14:10:22 -05:00
Joe Bryan
a7880717e3 vere: adds --auto-meld for play subcommand 2022-12-14 18:30:09 -05:00
Joe Bryan
3843c6090f vere: adds full replay option to play subcommand 2022-12-14 17:47:40 -05:00
Joe Bryan
82d5738df4 vere: adds dedicated replay command: play 2022-12-14 17:47:40 -05:00
Joe Bryan
67ef11117f vere: updates command docs 2022-12-14 17:47:39 -05:00
Joe Bryan
c15b822087 mars: adds replay implementation 2022-12-14 17:47:39 -05:00
Joe Bryan
a5362f2af0 vere: ports u3_disk_read_list() 2022-12-14 17:47:39 -05:00
Joe Bryan
9daab2fd5a vere: ports synchronous event log iterator 2022-12-14 17:47:33 -05:00
Joe Bryan
99a8ccda7b vere: ports synchronous lmdb iterator 2022-12-14 17:47:33 -05:00
Joe Bryan
91f7818ab7 vere: factors out sift/etch functions event serialization 2022-12-14 17:47:33 -05:00
Joe Bryan
5a775d1c79 u3: ports meld measurement printfs 2022-12-14 17:47:33 -05:00
Joe Bryan
fdafdf1f12 u3: ports new arvo invocations for boot and +poke 2022-12-14 17:47:33 -05:00
Joe Bryan
535c49d2db u3: factors out |mass-style memory measurement 2022-12-14 17:47:33 -05:00
Joe Bryan
5d4142eff8 u3: ports minor noun/ cleanup 2022-12-14 17:47:21 -05:00
Joe Bryan
a8dadedebf vere: bumps version 2022-12-13 11:22:13 -05:00
Joe Bryan
af8607fde4 u3: adds comments to road pave implementations 2022-12-13 00:23:47 -05:00
Joe Bryan
ebf0ab49af u3: adds facade for u3e_ward(), refactors watermarks 2022-12-13 00:23:47 -05:00
Joe Bryan
973cea6d91 u3: refactors u3e_save() facade and watermark calculations 2022-12-13 00:23:47 -05:00
Joe Bryan
c3821c3325 u3: adds facade for u3e_fault(), refactors error handling 2022-12-13 00:23:45 -05:00
Joe Bryan
d043a42128 u3: reimplements guard page w/out posts 2022-12-13 00:09:09 -05:00
Joe Bryan
4659b92d26 u3: factors out individual page protections 2022-12-13 00:09:01 -05:00
Joe Bryan
9fe6f3dde0 u3: refactors loom protect-south page-length calculation
blah
2022-12-13 00:07:56 -05:00
Joe Bryan
e378b497cb u3: fixes compile-time conditionals around guard page impl 2022-12-13 00:07:55 -05:00
Joe Bryan
54e591b719 u3: simplifies u3e_live() signature 2022-12-13 00:07:55 -05:00
Joe Bryan
12229a50e8 u3: adds snapshot facade to manage.c 2022-12-13 00:07:52 -05:00
Philip Monk
e1419d1787 contact-store: no-op if adding old contact
%contact-store is responsible for sending updates about contacts, eg
profile color.  When it hears an update, it fans that out to its
subsribers, unless that update is stale.  If you reguarly fan out stale
updates, then they reverberate across the network indefinitely -- we
call this "echoing".

To cut off this echoing, all edits have a timestamp, and we consider any
updates from before this timestamp to be stale.  Additions are separate
from edits, and for them we instead do a value comparison on the contact
-- if it didn't change, we consider the update stale.

The problem with this scheme is that if an addition and edit happen one
after the other in quick succession, you might have the following
sequence:

- add comes in with timestamp T1
- edit comes in with timestamp T2 after T1
- we hear an echo of the add, and that errantly applies because it
  passes our "did the contact actually change" check
- we hear an echo of the edit, which applies because T2 is after T1
- GOTO 3

Each time we apply the stale update, we fan that out to our subscribers,
and if any two hosts subscribe to each other, this will loop.  This may
even loop unconditionally because the ship that made the profile changes
seems like it might not recognize that those changes didn't come from
itself, so it sends them to all the groups it's in.  If so, that's an
important issue to fix.

Fixes tloncorp/landscape-issues#1442
2022-12-12 13:03:41 -07:00
Joe Bryan
5726f08da8 u3: simplifies road stack adjustment after snapshot load 2022-12-09 23:41:45 -05:00
Joe Bryan
f5fdaa2781 u3: automatically place the guard page in u3e_live() 2022-12-09 23:41:45 -05:00
Joe Bryan
39d0250afa u3: move directory creation out of events.c 2022-12-09 23:41:42 -05:00
Joe Bryan
bceb9cde4a u3: stop using u3P.dir_c outside of events.c 2022-12-09 23:41:42 -05:00
Joe Bryan
4620212260 u3: removes u3e_foul() 2022-12-09 23:41:38 -05:00
Hunter Miller
cec4e11448
Merge pull request #6141 from urbit/hm/change-ota-source
migration: set official ota source
2022-12-09 12:22:50 -06:00
Hunter Miller
ff0231e761 migration: set official ota source 2022-12-09 12:22:04 -06:00