Files
seaweedfs/weed/filer
f9febc7ee5 filer: a store's listing expires an entry as the filer does (#13399)
* filer: a store's listing expires an entry as the filer does

The tikv and redis stores remove the entries a listing finds expired,
and judged that by Crtime + TtlSec. For an S3 object the filer counts
from mtime instead, and an overwrite keeps Crtime while it moves mtime.
So a listing deleted an S3 object that was overwritten within its TTL:
a GET still returned it, and after one ListObjects it was gone. The same
check dropped a directory carrying a TTL from an older build, stranding
what it holds, which the filer's lookups refuse to do.

These stores, and the rocksdb compaction filter, now use Entry.ExpiresAt.

* filer: trim the store expiry comments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: MapleWhiteZZZ <18653045+MapleWhiteZZZ@users.noreply.github.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 23:49:33 -08:00
..
2026-04-10 17:31:14 -07:00