HomeSoftware Heritage

Make mapping initialization idempotent, instead of crashing if it already…

Description

Make mapping initialization idempotent, instead of crashing if it already exists.

This simplifies the Docker entrypoint (it can just call 'initialize'
unconditionally); and allows easy addition of new fields to an index.

Field removal would still need to be done manually.

Details

Provenance
vlorentzAuthored on Nov 13 2019, 3:17 PM
vlorentzPushed on Nov 14 2019, 12:22 PM
Differential Revision
D2269: Make mapping initialization idempotent, instead of crashing if it already exists.
Parents
rDSEA02a3cadc14b6: Make the CLI journal client subscribe to origin_visit.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9017
Build 13174: test-and-buildJenkins