HomeSoftware Heritage

Update origin_url/from_revision/metadata_tsvector when conflict_update=True.

Description

Update origin_url/from_revision/metadata_tsvector when conflict_update=True.

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

Details

Provenance
vlorentzAuthored on Aug 21 2019, 3:09 PM
vlorentzPushed on Aug 26 2019, 3:31 PM
Differential Revision
D1881: Update origin_url/from_revision/metadata_tsvector when conflict_update=True.
Parents
rDCIDX68db804cccae: Remove concept of 'minimal set' of metadata.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 7457
Build 10634: test-and-buildJenkins