Xiao Liu created HBASE-30368:
--------------------------------

             Summary: TableSnapshotScanner fails on an already restored MOB 
table snapshot
                 Key: HBASE-30368
                 URL: https://issues.apache.org/jira/browse/HBASE-30368
             Project: HBase
          Issue Type: Bug
          Components: mob
            Reporter: Xiao Liu
            Assignee: Xiao Liu
             Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8


h2. Problem

HBASE-30365 fixed this issue for \{{TableSnapshotInputFormat}}, but 
\{{TableSnapshotScanner}} still includes the MOB pseudo-region when 
\{{snapshotAlreadyRestored=true}}. Since HBASE-30336 no regular region 
directory is created for this pseudo-region, scanning fails with:

{noformat}
java.io.IOException: Region directory does not exist: 
.../<mob-region-encoded-name>
{noformat}

This also affects \{{VerifyReplication}} when a MOB peer snapshot is used.

h2. Fix

Skip \{{MobUtils.isMobRegionInfo(hri)}} in 
\{{TableSnapshotScanner.isValidRegion}} and add a regression test.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to