nyl3532016 commented on pull request #2437:
URL: https://github.com/apache/hbase/pull/2437#issuecomment-699634693


   > This is just a simple optimization or something related to correctness?
   > 
   > I'm not sure whether at this step we have finished recoverLease for all 
the WAL files? I mean whether the length in the FileStatus can be trusted?
   > 
   > Thanks.
   
   Yes, we should invoke `RecoverLeaseFSUtils.recoverFileLease` in the method 
'isZeroLengthThenDelete' ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to