Page MenuHomeSoftware Heritage

SQL: replace the hash(url) index by a unique btree(url) on the origin table
ClosedPublic

Authored by douardda on Jun 22 2020, 10:13 AM.

Details

Summary

This ensures unicity of url in the origin table.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Jun 22 2020, 10:14 AM

Build is green

Patch application report for D3324 (id=11775)

Rebasing onto 9514a1db60...

Current branch diff-target is up to date.
Changes applied before test
commit 19354bcd7e44cd0241180de9034b47c1df64737d
Author: David Douard <david.douard@sdfa3.org>
Date:   Mon Jun 22 10:05:37 2020 +0200

    SQL: replace the hash(url) index by a unique btree(url) on the origin table
    
    This ensures unicity of url in the origin table.

See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/318/ for more details.