yuuka created RATIS-2174:
----------------------------
Summary: Move future.join outside the lock
Key: RATIS-2174
URL: https://issues.apache.org/jira/browse/RATIS-2174
Project: Ratis
Issue Type: Wish
Affects Versions: 3.1.1, 3.1.0
Reporter: yuuka
To avoid potential deadlock issues, I hope to hold the lock without waiting for
a future.
Currently, I found that calling *changeToFollower* in the following functions
causes the above situation:
# RaftServerImpl.appendEntries
# RaftServerImpl.RequestVote
# checkAndInstallSnapshot
--
This message was sent by Atlassian Jira
(v8.20.10#820010)