Browse Source

docs: lazy TTL reaping reads as data loss, and a restored row is immortal

Found by a consumer verifying their backup against live right after the
prune - the worst moment to meet it. Their checker reported a row "NOT in
the live project", which reads exactly like we lost data during a
platform window. It was a 48-hour idempotency marker that was still
physically present in a backup taken 121 hours past its deadline and had
been reaped an hour later. Presence depends on when the reaper ran, not
on whether anything was lost.

The sharper half is ours too. There is no way to read a document's
remaining TTL - audited: ttlSeconds is on insert/upsert, patchWithTtl and
setFileTtl, all write paths, and CollectionInfo::defaultTtlSeconds is the
collection default. So our export cannot carry one, and a restore through
POST .../documents puts expired rows back as PERMANENT ones. For an
idempotency marker that suppresses the guarded work forever, and the more
faithful the restore looks the worse it is. Filed as #80; requested the
read upstream.

Also labels the CLI/client coupling as fixed in 2.18.1-2 via a symbols
file and a computed Depends floor. They chose that over static linking
because a statically linked tool stops exercising the shared library on
the hosts where you most want that coverage. We hit it an hour early and
are on a verified combination rather than an untested one.
fszontagh 1 month ago
parent
commit
0a51f0ec6f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      CLAUDE.md

File diff suppressed because it is too large
+ 0 - 1
CLAUDE.md


Some files were not shown because too many files changed in this diff