Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Currently we just call openRegion and closeRegion directly, which is a bit buggy. For example, in order to not fail all the open region requests while there is only one failure, we will catch the exception and set a flag in the return value. But for executeProcedures call, the return value will be ignored, and we expect the openRegion method will always call reportRegionStateTransition to report the failure but in fact it does not...
And after HBASE-20881, we can confirm that the race could happen, where we send a close request to a region which is opening(HBASE-21199), and vice visa. So I think here we need to revisit the implementation of executeProcedures to make it more stable.
Attachments
Attachments
Issue Links
- contains
-
HBASE-21199 Race in region opening and load balancing can cause region stuck in RIT
- Resolved
- relates to
-
HBASE-21226 Revisit the close region related code at RS side
- Open
-
HBASE-21237 Use CompatRemoteProcedureResolver to dispatch open/close region requests to RS
- Resolved
-
HBASE-21227 Implement exponential retrying backoff for Assign/UnassignRegionHandler introduced in HBASE-21217
- Resolved
- links to