# US 2014/0207738 A1 · Recovery for long running multithreaded processes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0207738 A1
- Document ID: US20140207738A1
- Status: Published application
- Kind: A1
- Application number: 14/221,549
- Filed: 2014-03-21
- Published: 2014-07-24
- Earliest claimed: 2012-12-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hernando Borda; Ravindra Medikonduru; Valeria Pechorin; Brian L. Tinnel
- Web page: https://patentgrep.com/patent/US20140207738A1

## CPC

- G06F 11/1446: Point-in-time backing up or restoration of persistent data
- G06F 9/461: {Saving or restoring of program or task context}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/5088: {involving task migration}
- G06F 11/0715: {in a system implementing multitasking (multitasking per se G06F9/46)}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1407: {Checkpointing the instruction stream}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F 11/1458: {Management of the backup or restore process}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In response to receiving a checkpoint request from a first task for a process executing in parallel with at least a second task for the process, checkpoint data from the first task is stored to establish a restart point for the first task, wherein the checkpoint data records a current state of the first task, and the checkpoint data from the first task is merged with previously received checkpoint data for the at least second task to create a checkpoint file. In response to restarting the process, the first task and the at least second task are restarted using the checkpoint data in the checkpoint file.

## Claims

### Claim 1

A method, comprising:
in response to receiving a checkpoint request from a first task for a process executing in parallel with at least a second task for the process,
storing checkpoint data from the first task to establish a restart point for the first task, wherein the checkpoint data records a current state of the first task; and
merging the checkpoint data from the first task with previously received checkpoint data for the at least second task to create a checkpoint file; and
in response to restarting the process, restarting the first task and the at least second task using the checkpoint data in the checkpoint file.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
storing checkpoint data for multiple checkpoints for the first task, wherein the first task is restarted with the checkpoint data at a last generated checkpoint from the multiple checkpoints.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a task configuration file; and
creating a task save area for the first task and a task save area for the at least second task identified in the task configuration file, wherein the checkpoint data for the first task is stored in the task save area for the first task and checkpoint data for the at least second task is stored in a task save area for the second task.

### Claim 4 (depends on 1)

The method of claim 1, wherein the checkpoint file is stored in a file system.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
creating a task object for the first task that is an internal representation of the first task.

### Claim 6 (depends on 1)

The method of claim 1, wherein the process is a long-running process comprising one of a migration operation, a backup operation, a restore operation, and an Extract Transform Load (ETL) process.

### Claim 7 (depends on 1)

The method of claim 1, wherein the checkpoint data includes a project name, a last job processed identifier, an application name, a database name, a database table name, and a database driver path.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first task determines when to create each of one or more checkpoints based on individual needs of that first task.
