DuplicateId errors when indexing from deposits
https://sentry.softwareheritage.org/organizations/swh/issues/105298/?referrer=phabricator_plugin
DuplicateId: [{'id': 'https://inria.halpreprod.archives-ouvertes.fr/hal-02527778', 'indexer_configuration_id': 1}]
(14 additional frame(s) were not displayed)
...
File "swh/indexer/metadata.py", line 184, in persist_index_computations
return self.idx_storage.origin_extrinsic_metadata_add(results)
File "swh/core/api/__init__.py", line 188, in meth_
return self._post(meth._endpoint_path, post_data)
File "swh/core/api/__init__.py", line 283, in _post
return self._decode_response(response)
File "swh/core/api/__init__.py", line 365, in _decode_response
self.raise_for_status(response)
File "swh/core/api/__init__.py", line 355, in raise_for_status
raise exception from None
Migrated from T4710 (view on Phabricator)