Changes between Version 1 and Version 2 of Ticket #35551, comment 8


Ignore:
Timestamp:
Jun 25, 2024, 6:15:08 AM (5 months ago)
Author:
Csirmaz Bendegúz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35551, comment 8

    v1 v2  
    22
    33The other issue I would like to address is the fact that Django creates a duplicate if there's no PK conflict.
    4 This should also resolve the race condition issue, i.e. what if an object is created by a separate process with the same PK **after** this check passes. An IntegrityError should be raised in that case.
     4This should also resolve the race condition issue, i.e. what if an object is created by a separate process with the same PK **after** this check passes. It would get overwritten as Sarah mentioned.
     5An IntegrityError should be raised in that case.
    56Should I create another ticket for this?
Back to Top