Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.4.13
-
None
-
None
Description
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.
Attachments
Issue Links
- depends upon
-
HBASE-27250 MasterRpcService#setRegionStateInMeta does not support replica region encodedNames or region names
- Resolved