Automatic Graph Recovery

Configure any graph to recover from failure automatically, regardless of whether the graph uses Generation 1 or Generation 2 operators.

When Automatic Recovery is enabled in the Run As dialog, the runtime system monitors the graph for failures and maintains a failure counter. As long as the failure counter is lower than the set options in the Recovery Configuration group, the runtime system restarts the graph with the same runtime configuration. If the graph fails within the set retry time, the error counter is reset.
The following table describes the options in the Recovery Configuration group.

Option

Description

Automatic Recovery

Select to turn on automatic recovery.

Retry for <n> run(s)

Specifies the number of runs for which to retry the graph before the counter is reset.

within the threshold value of <n> second(s)

Specifies the time limit for retrying the graph before the counter is reset.

Finally Failed Graphs

When the number of retries exceeds the settings in the Recovery Configuration group, the graph finally fails and the automatic restart feature stops. However, a finally failed graph can still be restarted manually at any time, even if the trials have been exceeded.

Run Graph with Automatic Recovery

To enable the automatic recovery, check the option Automatic Recovery in the Run As dialog. To reset the failure counter, complete the Recovery Configuration group options.

The following table describes the details that appear in the Overview tab in the Modeler after the graph has entered the running state.

Detail

Description

Status

The current status of the graph.

Runtime Handle

The ID of the current running graph graph. Every run has a unique ID.

Restart ID

The ID of the automatic recovery configuration. All recovered graph runs share the same Restart ID.

Run Order

Indicates how often the graph has been recovered. Because the graph can also be restarted manually, the Run Order can exceed the Maximum Automatic Retries.

Current Failure Counter

Shows how often the graph has failed. You can reset this counter if recovery fails within the set retry threshold time.

Run Type

Shows whether the graph has been recovered automatically or restarted manually.

Maximum Automatic Retries

The number of retries.

Retry Threshold Time

The threshold time for resetting the current failure counter for early failures.

The Status Tab

The Status tab lists all graph runs. The Status tab has two views, linear list and tree view that groups all runs belonging to the same automatic restart configuration (automatic restart group).

You can perform the following tasks in the Status tab:
  • Download diagnostics information.

  • Pause and restart the graph run.

  • Archive the graph run.

Automatic Graph Recovery and System Maintenance

When the system changes to maintenance mode, all graphs eligible for automatic restart enter the “stopped by pause” state. After the system goes back to production mode and the pipeline modeler is running for the respective users, the system restarts the graphs in the “stopped by pause” state automatically.

Pause and Stop Graphs Manually

Use the options in the Status tab to manually pause, restart, and stop graphs. Pausing and restarting graphs is helpful when you develop and test recoverable graphs.

You can restart a graph that has a status of “stopped by pause” at any time.

You can stop a graph manually, or the system stops the graph automatically when it completes its work. When a graph is stopped, it enters the state of “completed” and can't be restarted or recovered.

Archiving Graphs

You can archive a graph when it enters into any of the following states:
  • “completed”

  • “stopped by pause”

  • “dead”