Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9207

An Offline SplitParent Region can be assigned breaking split references

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0, 0.95.1, 0.94.10
    • 0.94.12
    • Region Assignment
    • None
    • Reviewed

    Description

      An offline split parent region can be assigned by using 'assign' from shell.

      This may trigger a compaction on the split parent region that should be offline, breaking the references of the two daughters.

      The easy way to test this is:

      • disable compactions
      • create a table and insert some row
      • split
      • shutdown the master (otherwise there's a state checked inside the AssignmentManager)
      • start the master
      • assign the region marked as OFFLINE => true, SPLIT => true (the compaction on region startup will probably break the reference of the two daughters)

      Attachments

        1. 0.94-9207_v4.patch
          14 kB
          Jimmy Xiang
        2. 0.94-9207_v3.patch
          14 kB
          Jimmy Xiang
        3. 0.94-9204_v2.patch
          0.7 kB
          Jimmy Xiang
        4. 0.94-9204.patch
          0.7 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              mbertozzi Matteo Bertozzi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: