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

Ignore zk assign event if region is not known in transition

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.95.2
    • Component/s: Region Assignment
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This is a follow up of HBASE-9161. Currently, if a region is in transition, we ignore any unexpected zk assign event and log a warning. For example, a zk closing event will be ignored if the region is pending open actually. However, if the region is not in transition, we will accept such events. For events not related to split/merge, we should ignore them and log a warning too, to tighten up the region state transition. During normal operation, this (ensuring region is in transition before accepting transition related events) is fine. During master failover, this is fine as long as we don't do region transition bypass ZK. We should also make sure to watch assignment znodes after user region states are recovered, so that we don't log many such warnings.

        Attachments

        1. trunk-9184.patch
          11 kB
          Jimmy Xiang

          Activity

            People

            • Assignee:
              jxiang Jimmy Xiang
              Reporter:
              jxiang Jimmy Xiang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: