eBay / NuRaft

C++ implementation of Raft core logic as a replication library
Apache License 2.0
1.01k stars 240 forks source link

Remove unnecessary listener_lock_ guard in start method #524

Closed e0c9 closed 3 months ago

greensky00 commented 3 months ago

Hi, this lock is provided to prevent human error by ensuring that the caller of this function always acquires the lock, even though it doesn't actually do anything.

Please refer to this thread https://github.com/eBay/NuRaft/pull/392#discussion_r1088612916