# US 10,956,079 B2 · Data resynchronization

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

- Number: US 10,956,079 B2
- Document ID: US10956079B2
- Status: Granted
- Kind: B2
- Application number: 15/952,780
- Filed: 2018-04-13
- Published: 2019-10-17
- Granted: 2021-03-23
- Earliest claimed: 2018-04-13
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Praveen Killamsetti; Tomasz Barszczak; Monil Sanghavi
- Web page: https://patentgrep.com/patent/US10956079B2

## CPC

- G06F 3/065: {Replication mechanisms}
- G06F 3/0611: {in relation to response time}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0671: {In-line storage system}
- G06F 12/0646: {Configuration or reconfiguration}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples herein relate to re-synchronizing data between an upstream volume and a downstream volume, including by communicating data to the downstream volume, from a start point to an end point of the upstream volume, maintaining a first cursor to indicate data, from the start point to the first cursor, that has been communicated to and committed to persistent storage of the downstream volume, and maintaining a second cursor to indicate data, from the first cursor to the second cursor, that has been communicated to the downstream volume and buffered without yet being confirmed as committed to persistent storage of the downstream volume.

## Claims

### Claim 1

A method of re-synchronizing data between an upstream volume and a downstream volume, comprising:
communicating data to the downstream volume, from a start point to an end point of the upstream volume;
maintaining a first cursor to indicate data, from the start point to the first cursor, that has been communicated to and committed to persistent storage of the downstream volume;
maintaining a second cursor to indicate data, from the first cursor to the second cursor, that has been communicated to the downstream volume and buffered without yet being confirmed as committed to the persistent storage of the downstream volume; and
processing a write request to perform a write operation to the upstream volume, comprising:
if the write operation is to write new data to the upstream volume between the start point of the upstream volume and the second cursor, writing the new data to persistent storage of the upstream volume and communicating the new data to the downstream volume to be replicated at the downstream volume;
if the write operation is to write the new data to a region of the upstream volume that is locked from accepting write requests, suspending the write operation; or
if the write operation is to write the new data to a region of the upstream volume after the second cursor and that is not locked from accepting write requests, writing the new data to the upstream volume and not communicating the new data to the downstream volume to be replicated in response to the write request.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
receiving an acknowledgement message indicating that an amount of data buffered in the downstream volume has been committed to the persistent storage of the downstream volume; and
advancing the first cursor by the amount, to indicate that the amount of data has been committed to the persistent storage of the downstream volume.

### Claim 3 (depends on 1)

The method of claim 1, comprising:
advancing the second cursor by an amount representing an amount of data that has been communicated to the downstream volume.

### Claim 4 (depends on 1)

The method of claim 1, comprising, determining that the new data that is communicated to the downstream volume is to overwrite data that has been committed to the persistent storage of the downstream volume, and committing the new data to the persistent storage of the downstream volume.

### Claim 5 (depends on 1)

The method of claim 1, comprising:
determining that the new data that is communicated to the downstream volume is to overwrite buffered data that has been buffered without yet being confirmed as committed to the persistent storage of the downstream volume; and
committing the buffered data to the persistent storage of the downstream volume before committing the new data to the persistent storage of the downstream volume.

### Claim 6 (depends on 1)

The method of claim 1, comprising re-starting the re-synchronizing from a first position in an address space of the upstream volume in response to a failure of the re-synchronizing, wherein the first position in the address space of the upstream volume is specified by the first cursor.

### Claim 7

A non-transitory computer-readable storage medium comprising instructions to re-synchronize data between a first data storage volume and a second data storage volume, wherein the instructions upon execution cause a system to:
communicate data to the second data storage volume, from a start point to an end point of the first data storage volume;
maintain a first cursor to indicate a first data portion that has been communicated to and committed to persistent storage of the second data storage volume, the first cursor specifying a first position in an address space of the first data storage volume to indicate the first data portion stored before the first position in the address space of the first data storage volume; and
maintain, based on the communication of data to the second data storage volume, a second cursor to indicate a second data portion that has been communicated to and buffered without yet being confirmed as committed to the persistent storage of the second data storage volume, the second cursor specifying a second position in the address space of the first data storage volume to indicate the second data portion stored after the first position and before the second position in the address space of the first data storage volume.

### Claim 8 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the instructions upon execution cause the system to advance the second cursor by an amount representing an amount of data that has been communicated to the second data storage volume.

### Claim 9 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the instructions upon execution cause the system to advance the first cursor by an amount representing an amount of data that has been committed to the persistent storage of the second data storage volume, the advancing of the first cursor being in response to receipt of a respective message indicating the amount of data that has been committed.

### Claim 10 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the instructions upon execution cause the system to process a write request for a write operation to the first data storage volume, and wherein the processing of the write request comprises:
if the write operation is to write new data to the first data storage volume between the start point and the second cursor, writing the new data to the first data storage volume and communicating the new data to the second data storage volume to be replicated at the second data storage volume;
if the write operation is to write the new data to a region of the first data storage volume that is locked, suspending the write operation; or
if the write operation is to write the new data to a region of the first data storage volume after the second cursor and that is not locked, writing the new data to the first data storage volume and not communicating the new data to the second data storage volume to be replicated at the second data storage volume.

### Claim 11 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the instructions upon execution cause the system to, in response to a failure of the re-synchronizing, re-start the re-synchronizing from a location of the first cursor.

### Claim 12 (depends on 1)

The method of claim 1, wherein the data that has been communicated to and committed to the persistent storage of the downstream volume is first data, and the data that has been communicated to the downstream volume and buffered without yet being confirmed as committed to the persistent storage of the downstream volume is second data,
wherein the first cursor specifies a first position in an address space of the upstream volume to indicate the first data stored before the first position in the address space of the upstream volume, and
wherein the second cursor specifies a second position in the address space of the upstream volume to indicate the second data stored after the first position and before the second position in the address space of the upstream volume.

### Claim 13 (depends on 2)

The method of claim 2, wherein the advancing of the first cursor comprises advancing a value of the first cursor sequentially across an address space of the upstream volume.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
storing the first cursor and the second cursor in a memory of a first storage apparatus including the upstream volume,
wherein the downstream volume is in a second storage apparatus coupled over a network to the first storage apparatus.

### Claim 15 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein the instructions upon execution cause the system to:
set a lock in the address space of the first data storage volume, the lock defining a frozen region in the address space of the first data storage volume; and
prevent a write to the frozen region.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions upon execution cause the system to:
responsive to communicating data in the frozen region to the second data storage volume, update the lock to move the frozen region in the address space of the first data storage volume.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the instructions upon execution cause the system to further:
responsive to communicating the data in the frozen region to the second data storage volume, advance the second cursor.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the frozen region is after the second position in the address space of the first data storage volume.

### Claim 19

A data storage apparatus comprising:
a persistent storage to store an upstream volume;
a memory; and
a processor to:
communicate data to a downstream volume, from a start point to an end point of the upstream volume;
maintain a first cursor in the memory to indicate a first data portion, from the start point to a first position specified by the first cursor, that has been communicated to and committed to persistent storage of the downstream volume, wherein the first position specified by the first cursor is in an address space of the upstream volume, and the first data portion is stored before the first position in the address space of the upstream volume; and
maintain a second cursor in the memory to indicate a second data portion, from the first position specified by the first cursor to a second position specified by the second cursor, that has been communicated to the downstream volume and buffered without yet being confirmed as committed to the persistent storage of the downstream volume, wherein the second position specified by the second cursor is in the address space of the upstream volume, and the second data portion is stored after the first position and before the second position in the address space of the upstream volume.

### Claim 20 (depends on 19)

The data storage apparatus of claim 19, wherein the processor is to:
set a lock in the address space of the upstream volume, the lock defining a frozen region in the address space of the upstream volume;
prevent a write to the frozen region; and
responsive to communicating data in the frozen region to the downstream volume:
update the lock to move the frozen region in the address space of the upstream volume, and
advance the second cursor.
