mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-14 18:40:48 +02:00
Remove Filer Metadata Store Growth section (now automatic)
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user