You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Nandakumar (Jira)" <ji...@apache.org> on 2025/07/05 14:21:00 UTC
[jira] [Updated] (RATIS-2317) Move AcquirePendingRequestPermit out of synchronized block in RaftServerImpl#appendTransaction
[ 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)