[ 
https://issues.apache.org/jira/browse/HBASE-27181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Huaxiang Sun updated HBASE-27181:
---------------------------------
    Summary: Change HBCK2's setRegionState() to use HBCK's 
setRegionStateInMeta()  (was: Replica region support in HBCK2 setRegionState 
option)

> Change HBCK2's setRegionState() to use HBCK's setRegionStateInMeta()
> --------------------------------------------------------------------
>
>                 Key: HBASE-27181
>                 URL: https://issues.apache.org/jira/browse/HBASE-27181
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbck2
>    Affects Versions: 2.4.13
>            Reporter: Huaxiang Sun
>            Assignee: Huaxiang Sun
>            Priority: Minor
>
> Replica region id is  not recognized by hbck2's setRegionState as it does not 
> show up in meta. We run into cases that it needs to set region state in meta 
> for replica regions in order to fix inconsistency. We ended up writing the 
> state manually into meta table and did a master failover to sync state from 
> meta table. 
>  
> hbck2's setRegionState needs to support replica region id and handles it 
> nicely.
> Currently, setRegionState does not use 
> MasterRpcServices#setRegionStateInMeta. There is an issue in 
> setRegionStateInMeta to support replica regions. After that is fixed, and 
> setRegionState uses setRegionStateInMeta to set the region state, it will 
> support replica Id.



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

Reply via email to