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

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.98.0, 0.96.0
    • 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. trunk-9204.patch
          5 kB
          Jimmy Xiang
        2. trunk-9204_v3.patch
          28 kB
          Jimmy Xiang
        3. trunk-9204_v3.1.patch
          24 kB
          Jimmy Xiang
        4. trunk-9204_v2.patch
          7 kB
          Jimmy Xiang
        5. HBASE-9294-0.94-v0.patch
          0.9 kB
          Matteo Bertozzi
        6. 0.94-9204.patch
          0.7 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: