[
https://issues.apache.org/jira/browse/RATIS-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandakumar updated RATIS-2317:
------------------------------
Description: In {{{}RaftServerImple#appendTransaction{}}}, we can safely
move the call to {{LeaderStateImpl#tryAcquirePendingRequest}} outside of
synchronized block as it is thread safe. (was: In
{{RaftServerImple#appendTransaction}}, we can safely move the calls to
{{RoleInfo#getLeaderStateNonNull}} and
{{LeaderStateImpl#tryAcquirePendingRequest}} outside of synchronized block as
they are thread safe.)
> 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
> Priority: Major
>
> In {{{}RaftServerImple#appendTransaction{}}}, we can safely move the call to
> {{LeaderStateImpl#tryAcquirePendingRequest}} outside of synchronized block as
> it is thread safe.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)