Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.2.0, 2.3.0, 2.1.5
-
None
Description
Although HBCK2 related, this is a master side improvement. On situations where regions are missing in META, any online fix tool such as the one being implemented in HBASE-22567 would require a further master restart to get RegionsStateStore reloaded from META, so that master can be aware of the newly re-added regions.
After regions are re-added to meta in CLOSED state, it should be possible to bring those by simply invoking hbck2 assigns command. But before MasterRpcServices.assigns submits an Assign procedure, it validates first if the given region is available on AssignmentManager.RegionsStateStore. The current patch reloads meta on MasterRpcServices.assigns if the given region is not found on the first lookup, then try a new lookup again before giving-up on region assignment.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-21745 Make HBCK2 be able to fix issues other than region assignment
- Resolved
- relates to
-
HBASE-22567 [HBCK2] Add new methods for dealing with missing regions in META while Master is online
- Resolved
- links to