Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19126 [AMv2] RegionStates/RegionStateNode needs cleanup
  3. HBASE-19127

Set State.SPLITTING, MERGING, MERGING_NEW, SPLITTING_NEW properly in RegionStatesNode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • None
    • None
    • Reviewed

    Description

      In current code, we did not set above states to a region node at all, but we still have statements like below to check if node have above states.

      else if (!regionNode.isInState(State.CLOSING, State.SPLITTING)) {
      ....
      }
      

      We need to set above states in a correct place.

      Attachments

        1. HBASE-19126-v1-master.patch
          11 kB
          Yi Liang
        2. region_state.patch
          11 kB
          Yi Liang
        3. state.patch
          10 kB
          Yi Liang

        Activity

          People

            easyliangjob Yi Liang
            easyliangjob Yi Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: