jmsadair / raft

An implementation of the Raft consensus protocol.
MIT License
34 stars 3 forks source link

Shutdown race #57

Closed jmsadair closed 8 months ago

jmsadair commented 8 months ago

This fixes a race between Stop and InstallSnapshot that caused deadlock occasionally. I believe there is still a remaining issue with transport that can cause deadlock in rare scenarios, but that will be fixed in another PR.