Implement find_or_create atomically

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      I had some concurrency issue with the find_or_create method. There is a reason this operation is not atomic ? I think it will possible to use upsert to do that atomically.

      Bests regards,

      Sébastien

              Assignee:
              Unassigned
              Reporter:
              Sébastien Puyet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: