소스 검색

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 개월 전
부모
커밋
0a51f0ec6f
1개의 변경된 파일과 0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      CLAUDE.md

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
CLAUDE.md


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.