fix: backfill sessions indexed before content hashing #21
Reference in New Issue
Block a user
Delete Branch "fix/session-backfill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #20. Follow-up to #19.
The watermark only revisits sessions newer than the last run, so anything indexed before content hashing existed could never gain reasoning. And a missing stored hash was read as "unchanged" when it actually means "no evidence".
knox ingest sessions --allignores the watermark for a one-time backfill.Ran it against the real index: 20.6 s, then 59 ms warm.
Two accounting notes, because the numbers look wrong at first glance and are not:
observationsrows without a hash remain (~1085). That is the append-only log — old rows keep whatever they had.