junegunn opened a new pull request, #8626: URL: https://github.com/apache/hbase/pull/8626
`TableSnapshotInputFormatImpl.getRegionInfosFromManifest` creates a split for every region in the snapshot manifest, and a MOB snapshot manifest includes the MOB pseudo-region from `MobUtils.getMobRegionInfo`. Each split is then opened as a real region under the restore dir. HBASE-30336 correctly stopped writing a `.regioninfo` for that pseudo-region under the table dir, so opening it now fails with "Region directory does not exist". Skip it, next to the existing offline-split filter. Behaviour preserving: the pseudo-region's family files live under mobdir, so the split opened a region with no store files and returned zero rows. MOB values are read through references in the data regions, not by scanning the pseudo-region. Covered by the existing `TestCopyTable` MOB snapshot tests, which fail without this change. ```sh mvn -pl hbase-mapreduce test -Dtest='TestCopyTable#testLoadingSnapshotAndBulkLoadToMobTable+tsetLoadingSnapshotToMobTable' ``` -- 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]
