[ 
https://issues.apache.org/jira/browse/RATIS-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated RATIS-2317:
------------------------------
    Component/s: Leader

> Move acquire PendingRequestPermit 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
>          Components: Leader
>            Reporter: Nandakumar
>            Assignee: Nandakumar
>            Priority: Major
>         Attachments: 1275_review.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to