Umeshkumar9414 commented on PR #8584:
URL: https://github.com/apache/hbase/pull/8584#issuecomment-5491093925

   > Then basically there are two problems.
   > On 5, we should remove the recovered.edits when opening the region, of 
course a failure of removing should not be considered as a critical issue.
   Yes I agree, we should check why the recovered edit files created. BTW I am 
aware of onc case that I faced (But it looks like you faced another one) when 
two split worker (one zombie server and another active one) is simultaneously 
splitting the wal. Active one complete and we even open the region. Now zombie 
server can try to create one recovered-edit file from its memory. 
   
   > And in MergeTableRegionsProcedure, when we have a recovered.edits file, we 
should check if the edits are all below the persistent seqNum, if so we are OK 
to remove the directory and go on.
   
   I might not be right here but what I understand from the code is having 
recovered.edits files once region is open is unacceptable, and I think that was 
right. Even if we check that the edits are all below the persistent seqNum, we 
might not be sure that we didn't miss some edits. But we might not have any 
other way here, anyway rollback and open will do the same. 


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to