Commit Graph

1286 Commits

Author SHA1 Message Date
Sigilante
30fe59fed6
Update DEVELOPERS.md 2024-05-20 14:27:55 -05:00
barter-simsum
34c4d036bd
Merge pull request #226 from urbit/barter-simsum/pma-record-node-partitions-in-flist-on-restore
pma: fix memory corruption restoration bug
2024-04-19 13:37:32 -04:00
barter-simsum
4cf532cbff pma: minor fixup 2024-04-12 18:28:32 -04:00
barter-simsum
d9631f83e8 pma: fix memory corruption restoration bug
Previously, we failed to record node partitions in the flist on restore. No we
do so
2024-04-12 18:17:09 -04:00
Alex Shelkovnykov
06b62d3efa
Merge pull request #224 from urbit/barter-simsum/pma-restore-regression-fix
pma: fix regression on restore
2024-04-04 13:29:53 -06:00
barter-simsum
e437c287a9 pma: clean comments 2024-04-04 15:13:45 -04:00
barter-simsum
a6b12d89bd pma: _bt_state_meta_new leave second metapage zeroed
There's no reason to initialize anything but the first metapage and it's
probably less error prone to leave the second metapage zeroed. On sync, the
first metapage will get memcpy'd to the second, so why partially write some of
the data now?
2024-04-02 14:35:21 -04:00
barter-simsum
af2fde6805 pma: btest.c changes 2024-04-02 14:28:58 -04:00
barter-simsum
93a788ec76 pma: fix regression on restore
There was a regression introduced with partition striping that caused problems
on restore due to node partitions incidentally getting mapped anonymous rather
than to the backing file
2024-03-27 19:08:40 -04:00
Edward Amsden
a245328266
Merge pull request #220 from urbit/as/slice
Minor improvement to slot implementation
2024-03-19 14:43:14 -05:00
Edward Amsden
f96297d93f
Merge pull request #221 from urbit/msl/perform-flogging
debug: use `flog!` macro instead of `eprintln!` sometimes
2024-03-18 10:19:06 -05:00
Matthew LeVan
bf3b6445c0 serf: placate clippy 2024-03-18 11:16:45 -04:00
Matthew LeVan
383b8e6d86 serf: flog where possible 2024-03-18 09:55:59 -04:00
Edward Amsden
53bc2c863e
Merge branch 'status' into msl/perform-flogging 2024-03-18 08:31:29 -05:00
Edward Amsden
4ee1cb1bdb
Merge pull request #204 from urbit/barter-simsum/partition-striping
pma: partition striping
2024-03-18 08:30:51 -05:00
Matthew LeVan
cbfa7dc5b3 flog: fix unused result 2024-03-15 10:24:11 -04:00
Matthew LeVan
ef90c78438 debug: use flog! macro instead of eprintln! sometimes 2024-03-15 09:14:03 -04:00
Alex Shelkovnykov
c35b6bba38 noun: minor improvement to slot implementation 2024-03-14 15:41:37 -06:00
barter-simsum
c7246d624e pma: fix comments 2024-03-14 16:16:21 -04:00
barter-simsum
2577875c3b pma: _node_get bounds checking 2024-03-13 15:24:20 -04:00
barter-simsum
b6cf968083 pma: btree test related changes 2024-03-13 15:20:33 -04:00
barter-simsum
c97a90f77d pma: fix PMA_GROW_SIZE_p 2024-03-13 13:10:18 -04:00
barter-simsum
0ca6de4421 pma: fix cargo build warning 2024-03-13 11:59:01 -04:00
barter-simsum
c859a5f577 pma: cleanup
comment cleanup and removal of dead code
2024-03-13 11:48:42 -04:00
barter-simsum
46ffb737ac pma: fix use-after-free of pending_nlist pointer 2024-03-13 11:36:07 -04:00
barter-simsum
21a1fcce39 pma: mlist restoration bugfix
more precisely fixes erroneous logic in child node CoWing
2024-03-13 11:35:18 -04:00
barter-simsum
aeb3f5fb50 pma: flist insert bugfix 2024-03-13 11:35:18 -04:00
barter-simsum
90d7a324f4 pma: partition striping wip. test changes 2024-03-13 11:35:18 -04:00
barter-simsum
879200a81b pma: partition striping wip
still dealing with weird issues related to mlist initialization when restoring
the persistent file in _bt_state_load
2024-03-13 11:35:18 -04:00
barter-simsum
97046975ae pma: partition striping mostly working. debugging restoration bugs 2024-03-13 11:35:18 -04:00
barter-simsum
8a04934515 pma: partition striping wip 2024-03-13 11:35:18 -04:00
barter-simsum
f4a6790d12 pma: partition striping wip 2024-03-13 11:35:18 -04:00
barter-simsum
778f5a19b0 pma: partition striping refactor. use _b and _p suffixes 2024-03-13 11:35:18 -04:00
barter-simsum
05cb9d8dba pma: partition striping wip 2024-03-13 11:35:18 -04:00
barter-simsum
38e17971ae pma: partition striping wip 2024-03-13 11:35:18 -04:00
barter-simsum
65965e1d13 pma: partition striping wip 2024-03-13 11:35:18 -04:00
Edward Amsden
439657f35f
Merge pull request #213 from urbit/eamsden/flog
add format-to-cord implementation and flog! macro
2024-03-13 09:41:09 -05:00
Edward Amsden
16c4c059a4
Merge branch 'status' into eamsden/flog 2024-03-13 09:13:39 -05:00
Edward Amsden
3863c5f144
Merge pull request #217 from urbit/eamsden/dont-stack-trace-copying-frame
interpreter: check for copying flag in exit
2024-03-13 00:00:36 -05:00
Edward Amsden
7136846672
Merge branch 'status' into eamsden/dont-stack-trace-copying-frame 2024-03-12 23:56:14 -05:00
Edward Amsden
3ef1f7c082 flog: cargo fmt 2024-03-12 21:04:57 -05:00
Edward Amsden
d184cf5695
Merge pull request #216 from urbit/barter-simsum/_pending_flist_merge-use-after-free
pma: clear pending_flist after completion of _pending_flist_merge
2024-03-12 20:26:36 -05:00
Edward Amsden
6edd8b15dc
Merge branch 'status' into eamsden/flog 2024-03-12 20:25:29 -05:00
Edward Amsden
45f7f00dc9 interpreter: check for copying flag in exit 2024-03-12 18:38:06 -05:00
barter-simsum
22fb321d05 pma: clear pending_flist after completion of _pending_flist_merge
use-after-free was responsible for crash
2024-03-12 19:16:12 -04:00
Edward Amsden
f68a95e1f2
Merge pull request #215 from bitemyapp/bitemyapp/purge-urcrypt
Purge urcrypt
2024-03-12 08:01:32 -05:00
Chris Allen
da9009f0d6 Purge urcrypt 2024-03-08 12:10:04 -06:00
Edward Amsden
3654703992
Merge pull request #206 from urbit/barter-simsum/flist-infinite-loop-bugfix
pma: fix file growth infinite loop
2024-02-29 13:48:05 -06:00
Edward Amsden
ff5af2689a add format-to-cord implementation and flog! macro 2024-02-27 13:21:57 -06:00
Matthew LeVan
30e8a915b2
Merge pull request #211 from urbit/as/serf-guard
guard page / `bail:meme`
2024-02-21 11:34:59 -05:00