You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2020/06/12 23:16:00 UTC

[jira] [Created] (HBASE-24552) Replica region needs to do check if primary region exists in hdfs during createRegionOnFileSystem().

Huaxiang Sun created HBASE-24552:
------------------------------------

             Summary: Replica region needs to do check if primary region exists in hdfs during createRegionOnFileSystem().
                 Key: HBASE-24552
                 URL: https://issues.apache.org/jira/browse/HBASE-24552
             Project: HBase
          Issue Type: Bug
          Components: read replicas
    Affects Versions: 2.3.0
            Reporter: Huaxiang Sun
            Assignee: Huaxiang Sun


When a replica is opened, it does not check if region dir exists and if .regionInfo exists in the directory, region server will online this replica region even the primary region does not exist. 

 

It needs to do better to do more checks and fails region open if the check does not pass.

Maybe we can do this check in master, will see.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)