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

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

ZanderXu opened a new pull request, #6647:
URL: https://github.com/apache/hadoop/pull/6647

   Threads in BlockManager.class support fine-grained lock.
   
   - BlockReportProcessingThread
   - MarkedDeleteBlockScrubber
   - RedundancyMonitor
   - Reconstruction Queue Initializer
   
   Normally, these threads just need BMReadLock or BMWriteLock, but there are 
some cases still need FSReadLock and FSWriteLock.
   
   - UpdateQuota while completing one block
   - GetStoragePolicyId while removing excess replicas
   - GetFullPath while checking if it is snapshot




> [FGL] Monitor threads in BlockManager.class support fine-grained lock
> ---------------------------------------------------------------------
>
>                 Key: HDFS-17416
>                 URL: https://issues.apache.org/jira/browse/HDFS-17416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>
> There are some monitor threads in BlockManager.class.
>  
> This ticket is used to make these threads supporting fine-grained locking.
>  * BlockReportProcessingThread
>  * MarkedDeleteBlockScrubber
>  * RedundancyMonitor
>  * Reconstruction Queue Initializer
>  



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