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

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

slfan1989 commented on PR #6029:
URL: https://github.com/apache/hadoop/pull/6029#issuecomment-1875626968

   @LiuGuH Thank you for your contribution! When we submit a PR, we need to 
write the JIRA number into the commit message.
   
   
![image](https://github.com/apache/hadoop/assets/55643692/b8f4a159-c04c-4a2f-9a21-8c89d4ce746c)
   
   




> DataSetLockManager.lockLeakCheck() is not thread-safe. 
> -------------------------------------------------------
>
>                 Key: HDFS-17182
>                 URL: https://issues.apache.org/jira/browse/HDFS-17182
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: liuguanghua
>            Assignee: liuguanghua
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
> threadCountMap is not thread-safe. Other functions add protected by 
> synchronized expect   lockLeakCheck(). Add synchronized on function 
> lockLeakCheck().



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