gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain5d144817Merge branch 'records-t40' into mainTicketsmain/plugins/mpackdb/testdata/format3/README.md

1.0 KB

  1. # Index format 3 compat corpus (#119, mpackdb 1.4.0)
  2. Store `format3` written by mpackdb 1.4.0 with `{ primaryKey: '*id', indexes: ['*x', 'name'] }`:
  3. ten records (ids 0–9) with x = 1.5, -0.5, 1e21, NaN, Infinity, -Infinity, 7, 1e-7, 3, 2.25 and
  4. name = "42", 'a"b', "a,b", "", "ünïcode", "x\ny", '"quoted', "042", "abc", a 64-digit string;
  5. record 9 (x 2.25, the 64-digit name) deleted before close (tomblog), so the index files carry nine entries.
  6. Files: `format3.mpack` (data), `format3.id.txt` / `format3.x.txt` / `format3.name.txt` (index lines,
  7. format 3), `format3.idxstate.json` (`idxFmt: 3`), `format3.meta.json`, `format3.tomblog`.
  8. The grammar is the comment above `formatIndexLine` in `src/IndexManager.js`. A compatible reader
  9. opens this store without a rebuild and finds: `x = 1.5` → id 0, `x` from 1.2 to 1.7 → [0],
  10. `nonFinite` on x → ids 3, 4, 5, `name = "42"` → id 0 (a string; the number 42 finds nothing),
  11. `name = "042"` → id 7, `name = ""` → id 3. A compatible writer produces byte-identical index lines
  12. for the same entries (sort order aside, see the comment).

Branches

Latest commits

  • 5d144817Merge branch 'records-t40' into mainTickets
  • 44ee6f06|||PR records: #43 #45 livemre
  • b8fdeee9Merge branch 'p39-routes' into mainTickets
  • a0187a0a|||PR Remove redundant route-order loopmre
  • 369e4b9cMerge branch 'k40-lists' into mainTickets
  • 9af8e780|||PR Use keyed list mutations for live ticket updatesmre
  • 610d8e8aMerge branch 'records-t39' into mainTickets
  • 32bcdf24|||PR records: GO P39 K40mre
  • 4123c6d1Merge branch 'records-t38' into mainTickets
  • cd3641a1|||PR records: day72 deploy live, tickets closedmre
  • 7d44d852Merge branch 'records-t37' into mainTickets
  • 926f7061|||PR records: merges, D36 deploymre
  • bf58534eMerge branch 'l33-final' into mainTickets
  • 759a9ac3|||PR thin login (tickets#46, #45): merge main, route entry cleanupmre
  • 239436d8Merge remote-tracking branch 'origin/main' into l33-finalmre
  • 5822cb3aMerge branch 'o34-clean' into mainTickets
  • 0870653c|||PR offline note from __hlOnline, no polling (tickets#41)mre
  • 14cf96b4Merge branch 'records-t36' into mainTickets
  • 07749fa1|||PR records: day72 + #40 mergedmre
  • ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre