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

ASF GitHub Bot commented on HDFS-17121:
---------------------------------------

LiuGuH commented on PR #5888:
URL: https://github.com/apache/hadoop/pull/5888#issuecomment-1683622535

   > If true, is it enough to make IBR and FBR asynchronously together and use 
only one thread? Thanks.
   I tried and I've given up. The reason are as follows: 
   IBR and FBR are not on the same dispatching frequency. 
   i)FBR should be sent immediately when heartbeat gets variable 
fullBlockReportLeaseId
   ii) IBR should be scheduled with waitTillNextIBR(heartbeatTime)




> BPServiceActor to provide new thread to handle FBR
> --------------------------------------------------
>
>                 Key: HDFS-17121
>                 URL: https://issues.apache.org/jira/browse/HDFS-17121
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>            Reporter: liuguanghua
>            Priority: Minor
>              Labels: pull-request-available
>
> After HDFS-16016 , it makes ibr in a thread to avoid heartbeat blocking with 
> ibr when require readlock  in Datanode.
>  Now fbr should do as this.   The reason is this:
> (1)heartbeat maybe block because of fbr with readlock in datanode
> (2)fbr will only may return FinalizeCommand 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to