Changes between Version 5 and Version 6 of Ticket #35551, comment 8


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35551, comment 8

    v5 v6  
    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 still get overwritten like 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 like Sarah mentioned (this might not be the case though, it needs further investigation).
    55At the very least, an IntegrityError should be raised in that case.
    66Should I create another ticket for this?
Back to Top