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

[amv2] Don't throw UnsupportedOperationException when rollback called on Assign/Unassign; spiral of death

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.0.3
    • amv2
    • None
    • Reviewed

    Description

      I can't repro reliably but if an AssignProcedure or UnassignProcedure is a subprocedure of an Enable/Disable and for whatever reason the parent decides it needs to rollback – can't get an entity lock – it will ask the subprocedures to rollback. UP and AP don't support rollback on all steps. For steps where not supported, we have been throwing a UnsupportedOperationException.... The Framework reschedules the rollback. And so on filling logs and Procedure WALs.

      Instead just note no rollback supported and intervention may be needed (until we to to 2.2 when AP/UP go away).

      Attachments

        1. HBASE-21271.branch-2.1.001.patch
          2 kB
          Michael Stack
        2. HBASE-21271.branch-2.1.002.patch
          2 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: