0xPolygonHermez / cdk-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
35 stars 39 forks source link

Unit test deadlock in smt_create #1207

Closed hexoscott closed 1 month ago

hexoscott commented 1 month ago

During smt_create I often get deadlocks resulting in a test timeout locally. This was fine when running in GH actions until recently where the instance type needed scaling up.

The issue appears to be in the Wait call below, and seems directly related to the number of delete workers in the pool. The 1000 default causes issues on my machine but 5 is OK as is 10,000 so something seems very fishy there.

image