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

Prevent region from assigning before log splitting is done

    Details

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

      Description

      If a region is assigned before log splitting is done by the server shutdown handler, the edits belonging to this region in the hlogs of the dead server will be lost.

      Generally this is not an issue if users don't assign/unassign a region from hbase shell or via hbase admin. These commands are marked for experts only in the hbase shell help too. However, chaos monkey doesn't care.

      If we can prevent from assigning such regions in a bad time, it would make things a little safer.

        Attachments

        1. trunk-9514_v1.patch
          42 kB
          Jimmy Xiang
        2. trunk-9514_v2.patch
          52 kB
          Jimmy Xiang
        3. trunk-9514_v3.patch
          52 kB
          Jimmy Xiang
        4. trunk-9514_v5.patch
          117 kB
          Jimmy Xiang
        5. trunk-9514_v5.1.patch
          128 kB
          Jimmy Xiang
        6. trunk-9514_v5.1.patch
          128 kB
          Jimmy Xiang
        7. trunk-9514_v5.2.patch
          118 kB
          Jimmy Xiang
        8. trunk-9514_v5.3.patch
          128 kB
          Jimmy Xiang
        9. trunk-9514_v5.4.patch
          129 kB
          Jimmy Xiang
        10. trunk-9514_v5.5.patch
          129 kB
          Jimmy Xiang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: