Hole in region chain

Know how to troubleshoot issues related to a hole in the region chain.

Condition

The start and end keys of adjacent regions do not align.

Cause

Region range mismatch.

As a result, reading inconsistencies occur.

Remedy

  1. Run the following command to troubleshoot the issue.
    hbase> list_regions <table>
  2. Run the following command to fix the issue.
    hbase> merge_region '<region1>', '<region2>', true