Skip to content

Race ConditionΒ #2

@bezborodow

Description

@bezborodow

When using find_or_create_by there could be a race condition between searching for the record, not finding it, and then creating it, if another process creates the record in the meantime resulting in a duplicate key error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions