Skip to content

Fix concurrency bug in migration #9

@MasloMaslane

Description

@MasloMaslane

After GET releases shared file lock and before migration acquires exclusive file lock a DELETE can acquire the lock and delete the file. Then the migration recreates the deleted file, which shouldn't happen. Probably best fix is to upgrade GET's shared lock to exclusive lock and pass it to the migration function

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