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

Race in MasterRpcServices.getProcedureResult

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta-1, 2.0.0
    • Component/s: proc-v2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In ProcedureExecutor, we only consider a procedure to be finished when it is removed from the procedures map. But in MasterRpcServices.getProcedureResult, we will use the state of the procedure to determine whether it is finished. If setFailure is called, the procedure may enter the FAILED state which indicates it is finished before being removed from the procedure map, and then causes an assertion when we calling ProcedureExecutor.removeResult in MasterRpcServices.getProcedureResult.

        Attachments

        1. HBASE-19608.patch
          4 kB
          Duo Zhang
        2. HBASE-19608-v1.patch
          4 kB
          Duo Zhang
        3. HBASE-19608-v2.patch
          4 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: