Nandakumar created RATIS-2317:
---------------------------------
Summary: Move AcquirePendingRequestPermit out of synchronized
block in RaftServerImpl#appendTransaction
Key: RATIS-2317
URL: https://issues.apache.org/jira/browse/RATIS-2317
Project: Ratis
Issue Type: Sub-task
Reporter: Nandakumar
Assignee: Nandakumar
In {{RaftServerImple#appendTransaction}}, we can safely move the calls to
{{RoleInfo#getLeaderStateNonNull}} and
{{LeaderStateImpl#tryAcquirePendingRequest}} outside of synchronized block as
they are thread safe.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)