Page MenuHomeSoftware Heritage

Update origin_url/from_revision/metadata_tsvector when conflict_update=True.
ClosedPublic

Authored by vlorentz on Aug 21 2019, 3:12 PM.

Details

Summary

This caused:

  • inconsistent data, because 'metadata' was updated while from_revision was not, when an origin has a new head revision
  • corrupted data, because metadata_tsvector did not match 'metadata
  • origin_url was not set for origins that were indexed before introducing the field

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
missing-fields-update
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7355
Build 10452: tox-on-jenkinsJenkins
Build 10451: arc lint + arc unit