Details
Description
A bit unusual, but managed to face this twice lately on both distributed and local standalone mode, on VMs. Somehow, after some VM pause/resume, got into a situation where regions on meta were assigned to a give RS startcode that had no corresponding WAL dir.
That caused those regions to never get assigned, because the given RS startcode is not found anywhere by RegionServerTracker/ServerManager, so no SCP is created to this RS startcode, leaving the region "open" on a dead server forever, in META.
Could get this sorted by adding extra check on loadMeta, checking if the RS assigned to the region in meta is not online and doesn't have a WAL dir, then mark this region as offline.
Attachments
Attachments
Issue Links
- duplicates
-
HBASE-21519 Namespace region is never assigned in a HM failover scenario when multiwal is enabled
- Reopened
- is broken by
-
HBASE-20856 PITA having to set WAL provider in two places
- Resolved
-
HBASE-14448 Refine RegionGroupingProvider Phase-2: remove provider nesting and formalize wal group name
- Closed