Skip to content

Improve trash cleanup performance by using emptyDir? #6489

@polyrabbit

Description

@polyrabbit

What would you like to be added:
Trash files are flattened into hourly buckets, and CleanupTrashBefore deletes those entries one at a time sequentially. It's better to have it use emptyDir so that the max-deletes concurrency applies to trash purging as well?

Why is this needed:
Trash cleanup is too slow, and max-deletes doesnot help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions