Issue #9029
Updated by dalley over 3 years ago
Unguarded uses of `bulk_create()` are not resilient to races when repositories are synced simultaneously, causing one or both of the syncs to fail. simultaneously. ~~~ if addons: Addon.objects.bulk_create(addons) if checksums: Checksum.objects.bulk_create(checksums) if images: Image.objects.bulk_create(images) if variants: Variant.objects.bulk_create(variants) ~~~