Remove Filer Metadata Store Growth section (now automatic)

chrislusf
2025-12-06 22:01:39 -08:00
parent 158327888a
commit ddec923e01
-6
@@ -39,12 +39,6 @@ So bucket deletion is as simple as deleting the LevelDB instance files and the c
Having separate LevelDB instance, or separate SQL tables, will help to isolate the storage and improve performance also.
## Filer Metadata Store Growth
Due to the semantics of the S3 API, empty directories (aka prefixes) aren't shown. However, an entry is still stored in the filer metadata store. When workload access patterns create many unique directories and then remove all the objects inside those directories, the filer metadata store can grow with orphaned directories.
SeaweedFS now automatically cleans up empty folders asynchronously after file deletions using an event-driven cleanup mechanism. Empty folders are detected and removed in the background without impacting S3 API performance.
## Setting TTL
It is possible to set a TTL for a specific directory using the S3 API. They are set using [`PutBucketLifecycleConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html).