You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Jitendra Nath Pandey (Jira)" <ji...@apache.org> on 2020/06/24 04:11:00 UTC

[jira] [Comment Edited] (HDDS-3851) Reduce lock contention in RaftServerImpl::replyPendingRequest

    [ https://issues.apache.org/jira/browse/HDDS-3851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17143498#comment-17143498 ] 

Jitendra Nath Pandey edited comment on HDDS-3851 at 6/24/20, 4:10 AM:
----------------------------------------------------------------------

cc [~szetszwo],
We, probably, need a Ratis jira for this.


was (Author: jnp):
cc [~szetszwo]

> Reduce lock contention in RaftServerImpl::replyPendingRequest
> -------------------------------------------------------------
>
>                 Key: HDDS-3851
>                 URL: https://issues.apache.org/jira/browse/HDDS-3851
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Rajesh Balamohan
>            Assignee: Tsz-wo Sze
>            Priority: Major
>         Attachments: image-2020-06-23-11-57-19-791.png
>
>
> [https://github.com/apache/incubator-ratis/blob/master/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java#L1341]
> Can be easily refactored to acquire the lock only for leader, to reduce the lock contention.
> Observed this in terasort.
> !image-2020-06-23-11-57-19-791.png|width=760,height=206!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org