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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35551, comment 8

    v2 v3  
    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. It would get overwritten as Sarah mentioned.
     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 still get overwritten as Sarah mentioned.
    55An IntegrityError should be raised in that case.
    66Should I create another ticket for this?
Back to Top