Staging instance, all changes can be removed at any time

Skip to content

Use versioned ExtIDs in loader mercurial implementation

For now this hardcodes the version to 1 be it to read or store extids.

This allows:

  • store the new hashes with a version (actually no version means version 0).
  • to keep the old loader mercurial ExtID references in the archives (no need to clean them up as that poses other problems regarding the journal)
  • in effect unblock the current ingestion/updates of existing origins which already have more than one ExtIDs due to different incompatible versions.

The storage implementation does not allow filtering on the extid_version so it's up to the loader to do the filtering. Hence the current implementation.

Related to T3418 Depends on D6040

Test Plan

tox


Migrated from D6036 (view on Phabricator)

Merge request reports

Loading