A concurrent request has a life cycle consisting of the following phases:
pending, running, completed, and inactive.
During each phase, a concurrent request has a specific condition or status. The below table
lists each phase/status combination and describes its meaning in relation to a request.
Concurrent Request Phase and Status
Individual Request Progress
Generally when you submit a request, its phase is Pending, which means that it has not yet
started running. When it does start running, its phase changes to Running. Upon completion
the status of the request becomes either Success, Warning or Error. If your request ends in
warning or error, you can use the Special Menu to select Diagnostics from the Requests
window to view any diagnostic messages stored in the log file.
Request Set Progress for Stages
When you submit a request set, all the requests in a stage run simultaneously and the phase
and status of the set begins as Pending Normal until an available concurrent manager can
process it. When a concurrent manager becomes available, the stages's phase and status
change to Running Paused as the stage waits for all of its requests to finish. Then the stage
changes from Running Paused to Running Normal to write completion information in the
report and log files. Finally, the stage phase changes to Completed and its status becomes
Success, Warning, or Error.
Progress of Individual Requests in a Stage
When a stage submits its requests, all requests start as Pending Normal, then change to
Running Normal, and finally end as either Completed Success, Completed Warning, or
Completed Error.
Progress of Linked Stages
When you submit a request set with more than one stage, the request set submits all
the stages but only runs one stage at a time, ensuring that each stage completes before
submitting the next. Each stage shows a phase of Pending and a status of Normal while
it waits for a concurrent manager to process it. As the next available concurrent manager
processes the stage, the request set phase and status changes to Running and Paused,
as the first stage begins to run. After each stage finishes, the request set temporarily
changes to a Normal status to check whether the stage ended in error and to determine
whether to stop or which stage should be processed next based on how you linked the
stages when you defined the request set.
Once the check is done for a completed stage, the set goes back to Paused status during
which the next stage runs. The set alternates between Normal and Paused status for each
stage in the set. The set itself resumes running (Running Normal), after all the requests
finish, to write completion information in the report and log files. The set ends in a
Completed phase, either with Success, Warning or Error status. A request set ends when
a stage ends with a completion status that does not link to a subsequent stage.
No comments:
Post a Comment