HomeSoftware Heritage

Make release_add support adding the same object twice in the same call

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Make release_add support adding the same object twice in the same call

This is an edge case, but the mirror infrastructure is apparently hitting it.
We modify the SQL query to be properly idempotent.

Also ensure in_memory and cassandra backends behave the same.

Note: this revision was mostly written by

Nicolas Dandrimont <nicolas@dandrimont.eu>.

Details

Provenance
douarddaAuthored on Jun 29 2020, 4:23 PM
douarddaPushed on Jun 30 2020, 10:07 AM
Differential Revision
D2771: Make release_add support adding the same object twice in the same call
Build Status
Buildable 13187
Build 20132: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.