mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
* 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>
Deprecated by redis2.
This implementation uses unsorted set. For example, add a directory child via SAdd.
Redis2 moves to sorted set. Adding a child uses ZAddNX.