Browse Source

docs: ROADMAP 5f - one instance's key audit points at an offline repair as a fourth cause

fszontagh 1 month ago
parent
commit
9d0107a4f6
1 changed files with 12 additions and 1 deletions
  1. 12 1
      docs/ROADMAP.md

+ 12 - 1
docs/ROADMAP.md

@@ -390,7 +390,18 @@ truncated (closed by 2.20.1's `copyDocuments`); (2) the old writer skipped an
 evicted document it "could not load"; (3) a delete that reached MemoryStore
 evicted document it "could not load"; (3) a delete that reached MemoryStore
 and the WAL but not LMDB (then the row is a resurrected delete, and the first
 and the WAL but not LMDB (then the row is a resurrected delete, and the first
 write to it keeps it). The audit's output on an affected instance, read
 write to it keeps it). The audit's output on an affected instance, read
-against its snapshot times, is what can separate them. The reverse
+against its snapshot times, is what can separate them.
+
+**One instance's own audit (2026-10-22, a nightly backup, 149 collections):**
+100 rows on disk only and 21 in memory only. Two of the disk-only counts match
+exactly what the v2.4.4 offline placement repair (`reconcile-subdbs`) moved
+into those collections: 23 in `image_hashes` and 1 in `workflows`. That fits
+a fourth candidate, (4) an offline LMDB-only rewrite: the misbound handle wrote these rows into a stranger's sub-db while
+MemoryStore filed them correctly; a later delete reached MemoryStore and the
+WAL, but in LMDB it found nothing in the home sub-db; the repair then moved the
+stray copy home, i.e. those rows may be DELETED rows the repair resurrected.
+Not yet checked against the history files. The other disk-only rows, and every
+memory-only one (incl. one `default:vectorapi_keys` row), are unexplained. The reverse
 ("in memory only") is reported by the same audit and has no fix yet: those
 ("in memory only") is reported by the same audit and has no fix yet: those
 rows are writable but invisible to LMDB-served reads.
 rows are writable but invisible to LMDB-served reads.