You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: a failed start leaves its background tasks running #141
Node::start spawns chain sync, gossip and pathfinding tasks before it resolves and binds the listening addresses. If either step fails, start returns the error (InvalidSocketAddress or the resolve error) with is_running still false. The spawned tasks keep running, and Node::stop returns NotRunning without signalling them.
Steps:
Configure a listening address that is already in use, or one that does not resolve.
Call Node::start and get the error.
Call Node::stop → NotRunning. Chain sync keeps running and can still persist.
Expected: a failed start stops the work it spawned, or stop shuts it down.
The same order is on main. Raised in #140 (comment), where the VSS write fence keeps a rebuild from being overwritten by these tasks' writes.
Activity