Page MenuHomeSoftware Heritage

core/loader: Retry contents loading on HashCollision errors
ClosedPublic

Authored by anlambert on Oct 1 2019, 10:55 AM.

Details

Summary

Here is a simple workaround to avoid HashCollision errors thay may appear when different workers are loading
the exact same content in parallel database transactions.

This clearly does not fix the storage issue but at least it should greatly reduce the amount of HashCollision
errors reported by the vcs loaders in production.

Related T2019

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Branch
hash-collision-retry
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 8034
Build 11582: tox-on-jenkinsJenkins
Build 11581: arc lint + arc unit