Page MenuHomeSoftware Heritage

Make the OriginMetadataIndexer call storage.revision_get a single time for all revisions.
ClosedPublic

Authored by vlorentz on Feb 6 2019, 4:57 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
OriginMetadataIndexer-revision_get-single-query
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4048
Build 5316: tox-on-jenkinsJenkins
Build 5315: arc lint + arc unit

Event Timeline

douardda added a subscriber: douardda.

Could you please explain in the commit message why you do this diff? Also the 'assert False' looks really strange. What is its practical purpose?

This revision now requires changes to proceed.Feb 7 2019, 10:02 AM
  • Make Indexer.index a non-abstract method.

Could you please explain in the commit message why you do this diff? Also the 'assert False' looks really strange. What is its practical purpose?

That was because index was an abstract method of the parent class. Fixed.

This revision is now accepted and ready to land.Feb 8 2019, 10:42 AM