Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1327

Creating task states and state transitions for the IMRU Driver

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: IMRU, REEF.NET
    • Labels:

      Description

      To support fault tolerant, we need to track task states and ensure the correct/allowed state transitions.

      Here are the task states:
      TaskNew,
      TaskSubmitting,
      TaskRunning,
      TaskCompeleted,
      TaskWaitingForClose,
      TaskClosedByDriver,
      TaskFailedByEvaluatorFailure,
      TaskFailedByGroupCommunication,
      TaskFailedAppError,
      TaskFailedSystemError

      Here are the events taht trigger the state transition:
      SubmittingTask,
      RunningTask,
      CompleteTask,
      WaitingTaskToClose,
      CloseTask,
      FailTaskAppError,
      FailTaskSystemError,
      FaileTaskEvaluatorError,
      FailTaskCommuError

      The state transition diagram is defined the the Fault Tolerant design doc. It is attached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juliaw Julia Wang
                Reporter:
                juliaw Julia Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: