Files
seaweedfs/weed
Chris Lu f60ab97b2e fix: use fail-open for directory marker check in empty-folder cleaner
The isDirectoryMarker check used fail-closed behavior: any transient
error from GetEntryAttributes would permanently cache the folder as a
directory marker, blocking cleanup forever.

Change to fail-open: on transient errors, allow deletion to proceed
and don't cache the result so it can be retried on the next cycle.
This is safe because directory markers are intentional objects that
users can recreate, while blocked cleanup causes silent data leaks.

Also increase the Spark test cleanup timeout from 35s to 60s to
accommodate cascading multi-level directory cleanup with the
additional store lookups.
2026-03-21 14:54:31 -07:00
..
2026-02-20 18:42:00 -08:00
2024-02-14 08:26:38 -08:00