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

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

hfutatzhanghb commented on PR #6530:
URL: https://github.com/apache/hadoop/pull/6530#issuecomment-1929053830

   > Thanks @hfutatzhanghb for your report.
   > 
   > Is `DNA_ACCESSKEYUPDATE` blocked by `BlockCommand`? If so, how about 
letting `CommandProcessingThread` only handle command that might take a long 
time?
   
   @ZanderXu Hi, sir.  Yes, DNA_ACCESSKEYUPDATE blocked by BlockCommand.  Good 
idea, but still have some problems to solve. For example, the heartbeat 
response may contain commands with kind of command type, we can't know whether 
it contains DNA_ACCESSKEYUPDATE except we iterate `resp.getCommands()` and 
iteration will introduce extra cost.
   What's your opinion ? sir. Hope to receive your reply, Thanks a lot.
   




> CommandProcessingThread#queue should use LinkedBlockingDeque to prevent high 
> priority command blocked by low priority command
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17372
>                 URL: https://issues.apache.org/jira/browse/HDFS-17372
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: farmmamba
>            Assignee: farmmamba
>            Priority: Major
>              Labels: pull-request-available
>




--
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