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

Subprocedure should be marked as complete upon failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, 0.98.3
    • None
    • None
    • Reviewed

    Description

      ProcedureMember#submitSubprocedure() uses the following check:

            if (!rsub.isComplete()) {
              LOG.error("Subproc '" + procName + "' is already running. Bailing out");
              return false;
            }
      

      If a subprocedure of that name previously ran but failed, its complete field would stay false, leading to early bailout.

      A failed subprocedure should mark itself complete.

      Attachments

        1. 11189-v1.txt
          1 kB
          Ted Yu
        2. 11189-v2.txt
          3 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: