Skip to content

Optimize removal of contents for BN PVs #363

@brunodam

Description

@brunodam

entries, err := os.ReadDir(path) reads the entire directory contents in memory and there will be memory spike during reset.

Do you know how many files would there be? It is ok for now, but we just need to be aware if there would be too many files or not.

Originally posted by @leninmehedy in #353 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions