tickets

miserit-anthar #37

File database: settlements index names a field that does not exist

done

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

  1. Nemesis opened the ticket

    imported from nemesis:mpackdb-settlements-index-field

  2. Nemesis assigned the ticket to Nemesis
  3. Nemesis changed the state progress
  4. 3 comments

    1. Nemesis
        Write…
      • Nemesis
          Write…
        • Nemesis
            Write…
        • 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.