harness/upgrade/ is two data directories the last release (v0.1.0) wrote, one shut down and one killed, and node compare.mjs --upgrade holds the server to what that release answered on them. Each of their four accounts wrote a few records: none wrote the mebibyte after which a log is compacted, so neither directory holds an account's table, only logs.
Since then an account's table has changed twice: its space repos moved out of its one entry into sections (the table's version 3, folded once from version 2 as an account is first loaded), and its blocks' check became XXH3 in place of SHA-256 (PDSTAB02, with PDSTAB01 still read). --upgrade passes whatever either does. What holds them is the server's own tests alone (log::tests::a_table_of_the_version_before_is_folded_once, tables_of_the_version_before_are_served_and_folded), which build the old tables with this version's code.
What would close it
--upgrade-write giving one account enough to be compacted (three records of 140000 bytes do it, as the limits run's openFiles check does), a space repo with records in it among them, and waiting for the table; then harness/upgrade/ written again with the v0.1.0 binary, and its expected answers with it. Both directories: a table found after a shutdown and after a kill.
harness/upgrade/is two data directories the last release (v0.1.0) wrote, one shut down and one killed, andnode compare.mjs --upgradeholds the server to what that release answered on them. Each of their four accounts wrote a few records: none wrote the mebibyte after which a log is compacted, so neither directory holds an account's table, only logs.Since then an account's table has changed twice: its space repos moved out of its one entry into sections (the table's version 3, folded once from version 2 as an account is first loaded), and its blocks' check became XXH3 in place of SHA-256 (
PDSTAB02, withPDSTAB01still read).--upgradepasses whatever either does. What holds them is the server's own tests alone (log::tests::a_table_of_the_version_before_is_folded_once,tables_of_the_version_before_are_served_and_folded), which build the old tables with this version's code.What would close it
--upgrade-writegiving one account enough to be compacted (three records of 140000 bytes do it, as the limits run'sopenFilescheck does), a space repo with records in it among them, and waiting for the table; thenharness/upgrade/written again with thev0.1.0binary, and its expected answers with it. Both directories: a table found after a shutdown and after a kill.