Sigma-Ma commented on PR #8576: URL: https://github.com/apache/hbase/pull/8576#issuecomment-5438157927
> What if the offline/split region has hfiles still referenced by online regions links/ref-files? Thanks for raising this. You're right that an offline split parent can still own HFiles referenced by its daughters. The filter here only changes the RegionLocator view used to build the reducer partition boundaries. It does not modify the snapshot manifest or filter the files copied by ExportSnapshot. The full backup path still visits every region manifest, and reference files are resolved back to the parent HFile. The restore path keeps the existing Reference/HFileLink handling as well. So the parent HFiles are still preserved; the parent region is only excluded as a logical target region. The current unit test does not cover a real reference-file case, though. I can add a focused test for that if you think it would be useful. -- 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]
