Skip to content

FilesystemStore::list is not safe to call concurrently #3795

Open
@TheBlueMatt

Description

@TheBlueMatt

We can have a file/dir removed between fs::read_dir and dir_entry_is_key looks at its metadata which causes a spurious error. Obviously list will always return a set that may be bogus by the time its used, but that should be pretty clear from the API, the call shouldn't fail, however (and its probably okay that its internally-inconsistent).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions