Skip to content

Fix bug with concurrent upload of manifests

Ahmon Dancy requested to merge main-Ie3cfec8f9bc0b74400f5c58530aaebc161cf1acb into main

Previously a UNIQUE constraint failed: blob.name error could occur
if two idential (but differently tagged) manifests or two manifests
referencing the same blob were uploaded at the same time.

This has been resolved by ensuring that the entirety of the manifest
upload completion code is executed under exclusive database lock.

Bug: T366856

Merge request reports