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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.