Page MenuHomePhabricator

[avalanche] Fix a lock order inversion
ClosedPublic

Authored by Fabien on Tue, Apr 22, 21:56.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC0971f430079f: [avalanche] Fix a lock order inversion
Summary

Introduced in D17832, we are calling addToReconcile() which in turns calls IsWorthPolling() with cs_main hold, which is not possible.

Test Plan

Run the TSAN build.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable