ObolNetwork / charon

Charon (pronounced 'kharon') is a Proof of Stake Ethereum Distributed Validator Client
https://docs.obol.tech/
Other
195 stars 84 forks source link

DKG reconnect deadlock bug #1925

Closed dB2510 closed 1 year ago

dB2510 commented 1 year ago

🐞 Bug Report

Description

There is a bug in DKG sync protocol that results in some peers deadlocking during shutdown. This is triggered when relay connections are recycled at an exact moment during the shutdown process which results in a deadlock and the DKG hanging and not completing for some peers.

Has this worked before in a previous version?

No. It has been present in original sync protocol introduced in v0.13.

🔬 Minimal Reproduction

See screenshots below.

corverroos commented 1 year ago

image image image