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

Vinayak Hegde commented on HBASE-29345:
---------------------------------------

There are two things to note:
 # This change: https://issues.apache.org/jira/browse/HBASE-28665 adds the test 
{{{}testWALClosureFailureAndCleanup{}}}, and it has been added to both 
{{branch-2}} and {{{}branch-2.5{}}}.

 # This change: https://issues.apache.org/jira/browse/HBASE-28637 adds file 
lease recovery before closing the file (an asynchronous operation that takes 
some time), and it has been added to {{master}} and {{{}branch-2{}}}.

So, the issue is present in {{{}branch-2{}}}.

> testWALClosureFailureAndCleanup fails due to missing lease recovery wait 
> during close
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-29345
>                 URL: https://issues.apache.org/jira/browse/HBASE-29345
>             Project: HBase
>          Issue Type: Bug
>          Components: wal
>    Affects Versions: 2.7.0
>            Reporter: Vinayak Hegde
>            Assignee: Vinayak Hegde
>            Priority: Major
>              Labels: pull-request-available, test
>
> The issue was in {{{}testWALClosureFailureAndCleanup{}}}, where the test code 
> wasn’t waiting for the file lease recovery to complete before checking the 
> cleanup status. Adding a wait before the check resolves the issue.



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

Reply via email to