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

Mukul Kumar Singh commented on HDDS-3451:
-----------------------------------------

Thanks for the contribution [~nanda] and [~xyao] for reviews. I have merged 
this.

> Add timeout to XceiverServerRatis#submitRequest call
> ----------------------------------------------------
>
>                 Key: HDDS-3451
>                 URL: https://issues.apache.org/jira/browse/HDDS-3451
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 0.5.0
>            Reporter: Nilotpal Nandi
>            Assignee: Nanda kumar
>            Priority: Major
>              Labels: pull-request-available
>
> There are cases where 
> {{org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis#submitRequest}}
>  call waits forever blocking the thread which calls it.
> This is causing a problem with the CommandHanler thread in Datanode. The 
> CommandHandler thread is blocked on {{XceiverServerRatis#submitRequest}} 
> because of which all the subsequent commands sent by SCM are not getting 
> processed in datanode.
> We should add a timeout for this call and throw {{TimeoutException}}.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to