Changes between Version 1 and Version 2 of Ticket #35551, comment 8
- Timestamp:
- Jun 25, 2024, 6:15:08 AM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35551, comment 8
v1 v2 2 2 3 3 The 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. 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. 5 An IntegrityError should be raised in that case. 5 6 Should I create another ticket for this?