Skip to content

Handle race conditions #5

@loevgaard

Description

@loevgaard

In the DoctrineOrmBasedMetadataPersister there is a race condition, both when inserting and updating.

Right now the inserting is handled by catching the exception, which doesn't really handle the problem.

When updating the metadata, it's the one that updates the last that wins. This could be handled with optimistic locking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions