Files
seaweedfs/weed
Chris LuandClaude Opus 5.5 8d60f3bde9 filer: sweep expired entries under TTL path rules
Expiry was applied only when an entry is looked up or its directory is
listed. Stores without native TTL (SQL, etcd, leveldb, tikv) kept the rows
of entries nobody visited again long after their volumes were deleted.

The sweep lists each TTL rule's subtree, so the listing's expiry checks
remove those rows and drop directories they leave empty. A rule nested in
another TTL rule is covered by the outer walk; each prefix is swept at its
TTL, kept between an hour and a day. With a shared store only the prefix's
lock-ring owner sweeps it; a filer with its own store sweeps its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:35:35 -08:00
..
2026-04-14 20:48:24 -07:00
2026-04-23 10:05:51 -07:00