Page MenuHomeSoftware Heritage

Prevent deadlocks by always updating items in the same order.
ClosedPublic

Authored by vlorentz on Mar 4 2019, 12:49 PM.

Details

Test Plan

The tests are a bit fragile since they are testing a concurrency
issue.
But when running them without the fix, there is almost always
at least one failure on my machine (with pgsql running on a tmpfs).

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
update-deadlock
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4526
Build 6009: tox-on-jenkinsJenkins
Build 6008: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 4 2019, 3:10 PM
This revision was automatically updated to reflect the committed changes.