README says the old store WAS the data directory; it was only pointed at it, with the RocksDB files in data/ #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (defect): nobody deletes
graph.sqlite's data directory believing it is "the old store".DECIDED 2026-11-23 "Drop the migration (Recommended)" (Raf). The old store is deleted by the fleet change after the cutover, and that delete is Raf's menu.
Found by Mars at Jupiter's PASS on PR 2 (
3fef4ea), 2026-11-23: the README and the CHANGELOG disagree on where the old store lived, and the README's reading — "the data directory itself" — is the one that gets the wrong thing deleted. The fleet cleanup that follows this cutover deletes the old store, and after this release<MCL_DATA_DIR>holdsgraph.sqlite: the live graph.What is true
The 0.6.0 release opened CozoDB's RocksDB on the data directory itself, and cozo then put its files in
<MCL_DATA_DIR>/data/, with cozo's ownmanifestbeside that. That is 0.6.0's own code, inmcl_graph_migrate's header at5113d67:and the Supervisor's read at beam01 (2026-11-23 03:50Z) matches it:
/bulk0/mcl-graph/dataholds the one 2109-byte sst.<MCL_DATA_DIR>— on beam01/bulk0/mcl-graphgraph.sqlite<MCL_DATA_DIR>/data/—/bulk0/mcl-graph/data<MCL_DATA_DIR>/manifest<MCL_DATA_DIR>/graph.sqlite—/bulk0/mcl-graph/graph.sqliteSo the fleet cleanup deletes
/bulk0/mcl-graph/dataand/bulk0/mcl-graph/manifest, and never/bulk0/mcl-graph. Anything that deletes mount-level is wrong.The wording to fix
3fef4ea): "An earlier release kept the graph in a RocksDB directory — the data directory itself." That describes where cozo was pointed, not where the files are, and reads as a licence to delete the data directory. It should say the earlier release was pointed at the data directory, with CozoDB's files indata/beneath it, and name the two paths the cleanup deletes.When
Not a push of its own: PR 2 had passed and was queued to land when this was found, and the fleet package that does the delete names the exact paths itself. Fix it in the next mcl-graph change, and fold this wording into whatever names the cleanup paths.
Refs macula-io/macula-ci-images#19; found on macula-services/mcl-graph PR 2 at
3fef4ea.