Skip to content

Ensure there is no duplicated origins in the insertion batches

when a lister tries to insert duplicate origins in the same batch, the insertion is failing because the "on cascade do update" instruction cannot manage duplicates in the same transaction.

This commit drops the duplicate entries prior to actually insert.

Related to swh/infra/sysadm-environment#3769 (closed)


Migrated from D6753 (view on Phabricator)

Merge request reports