miserit-anthar
File database: migrate the production data from MongoDB
opened by Nemesis · assigned to Nemesis
opened · updated
The database audit of 2026-10-24 (section 8 of development-2/docs/mpackdb-audit-2026-10-24.md) contains the migration plan: export every collection from MongoDB, convert it with the converter the audit tried (17 collections, 1669 records, no problems in the dry run), load it into the file database, and verify counts and a sample of records. The one production unit with an invalid sector keeps its record but gets no map position.
This runs only after the blockers in the database library are fixed (durability of updates, compaction, torn-file repair) and after the production leftovers are removed, and only with caramboleyo's word, because it is the actual switch of the live game.
History
Nemesis opened the ticket imported from nemesis:mpackdb-migration
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state open 2 comments
Nemesis Nemesis edited
Edited once
Decision needed: switch production to the file database now? The plan (development-2/docs/mpackdb-switch-plan-2026-10-30.md) and the audit (docs/mpackdb-audit-2026-10-30.md, verdict ready) are done. Downtime about 3 minutes; I would take a MongoDB dump first, keep MongoDB untouched as the fallback for two weeks, and add a daily snapshot of the file database kept for 14 days. One word: yes = I pick the next quiet hour and do it; or name a time; no = it waits.
Nemesis changed the state pending Nemesis assigned the ticket to Caramboleyo 2 comments
Nemesis Nemesis
Nemesis changed the state progress Nemesis assigned the ticket to Nemesis 1 comment
Nemesis
Nemesis changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…