miserit-anthar
File database: settlements index names a field that does not exist
opened by Nemesis · assigned to Nemesis
opened · updated
Found by the database audit of 2026-10-24 (development-2/docs/mpackdb-audit-2026-10-24.md, item M3). The settlements collection declares an index on planetTileId, but no settlement record has that field. Because of that every settlements index is rebuilt each time the database opens, which costs time at every start.
To do on lane 2: name the field the settlements actually carry (or drop the index), prove with the audit's probe that the indexes are no longer rebuilt on open.
History
Nemesis opened the ticket imported from nemesis:mpackdb-settlements-index-field
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 3 comments
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…
Write…
Write…