[ 
https://issues.apache.org/jira/browse/HADOOP-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654308#action_12654308
 ] 

Suresh Srinivas commented on HADOOP-4795:
-----------------------------------------

In the method {{check()}}, if the older entry has not expired, we should break 
out of the while loop? Otherwise this code will cause a tight loop until 
{{sortedLease.size()}} becomes 0 in size?

> Lease monitor may get into an infinite loop
> -------------------------------------------
>
>                 Key: HADOOP-4795
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4795
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.18.3
>
>         Attachments: 4795_20081205.patch
>
>
> If a lease is not found in the namespace for some reasons (e.g. bugs), lease 
> monitor may get into an infinite loop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to