Project

Profile

Help

Issue #4306

closed

The BulkCreateManager.bulk_get_or_create() breaks ourter transactions.

Added by jortel@redhat.com almost 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 47
Quarter:

Description

Both bulk_create() and save() need to be called within a nested transaction so that it can be safely used in an outer transaction. Even though an IntegrityError is caught, it will still cause the transaction to be in an ERROR state and can no longer be used.

Added by jortel@redhat.com almost 6 years ago

Revision f4eb840b | View on GitHub

Fix BulkCreateManager.bulk_get_or_create() closes #4306

Added by jortel@redhat.com almost 6 years ago

Revision f4eb840b | View on GitHub

Fix BulkCreateManager.bulk_get_or_create() closes #4306

Actions #1

Updated by dkliban@redhat.com almost 6 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 47
Actions #2

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
  • Tags Pulp 3 RC Blocker added
Actions #3

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by daviddavis almost 6 years ago

  • Tags Pulp 3 added
  • Tags deleted (Pulp 3 RC Blocker)
Actions #6

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #7

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #8

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF