Skip to content

Mutex locking when creating resources with mutually exclusive identifiers #1283

@damooo

Description

@damooo

Description

Per solid uri semantics, two resources that have uris differing only in trailing slash are mutually exclusive.

When two simultanious put requests came for resources a/b (say, with content type text/html), and a/b/, and neither of them exists before, It can lead to creating both resources, (and may lead to creating a/b$.html, a/b/ in filestore).

Issue also can happen, on put requests like for a/b, a/b/c/d.txt, as solid requires creating intermediate containers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions