Apache9 commented on pull request #3488:
URL: https://github.com/apache/hbase/pull/3488#issuecomment-880319342


   And in general, I do not think creating split/merged region in a tmp 
directory first is related to how to track the store files.
   
   Unless we are using HBCK to scan the file systems to recover hbase:meta, 
otherwise we will just trust what we have in hbase:meta, so creating regions 
directly in the final place is not a problem here.
   
   I guess why we create it in tmp directory first is because the 
CatalogJanitor? Not sure. But theoretically, since we do not need to scan the 
filesystem to get all the regions for a table when opening it, I do not think 
we need to introduce a Strategy to handle both cases, just change the code to 
write it to the final place. This could be done on master and branch-2.
   
   Thanks.


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