# US 2021/0279354 A1 · Live data conversion and migration for distributed data object systems

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

- Number: US 2021/0279354 A1
- Document ID: US20210279354A1
- Status: Published application
- Kind: A1
- Application number: 16/878,139
- Filed: 2020-05-19
- Published: 2021-09-09
- Earliest claimed: 2020-03-06
- Assignees: Dropbox, Inc.
- Applicants: Dropbox, Inc.
- Inventors: Ashish Gandhi; Renjish Abraham; Kevin Farrell
- Web page: https://patentgrep.com/patent/US20210279354A1

## CPC

- G06F 16/258: {Data format conversion from or to a database}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 16/214: {Database migration support}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/284: {Relational databases}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1458: {Denial of Service}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are disclosed for migrating data objects stored by the source DDOS from the source DDOS to the target DDOS while at least the source DDOS is live and available to process requests for access to the data objects being migrated. The techniques also provide eventual consistency between data objects that are created, updated, or deleted in the source DDOS that are applicable to the migration and that occur while the migration is being performed.

## Claims

### Claim 1

A computer-implemented method comprising:
using a set of long-lived worker processes to read a first set of data objects from a source distributed data object system and to write a second set of data objects corresponding to the first set of data objects to a target distributed data object system;
wherein each worker process of the set of long-lived worker processes reads at least two data objects of the first set of data objects from the source distributed data object system and writes at least two data objects of the second set of data objects to the target distributed data object system;
comparing a first set of signatures for the first set of data objects to a second set of signatures for the second set of data objects; and
based on a set of mismatches between the first set of signatures and the second set of signatures, using the set of long-lived worker processes to read a first set of modified data objects of the first set of data objects corresponding to the set of mismatches and to write a second set of modified data objects corresponding to the first set of modified data objects to the target distributed data object system.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
comparing a set of signatures for the first set of modified data objects to a set of signatures for the second set of modified data objects corresponding to the first set of modified data objects; and
detecting an absence of any mismatches between (a) the set of signatures for the first set of modified data objects and (b) the set of signatures for the second set of modified data objects corresponding to the first set of modified data objects.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
using the set of long-lived worker processes to generate the second set of signatures for the first set of data objects; and
obtaining the first set of signatures from the source distributed data object system.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
obtaining a first signature for a first data object of the first set of modified data objects;
obtaining a second signature for a second data object of the second set of data objects;
comparing the first signature to the second signature; and
based on a mismatch between the first signature and the second signature, using a long-lived worker process to read the first data object from the source distributed data object system and to write the second data object to the target distributed data object system;
wherein:
the first signature is in the first set of signatures,
the second signature is in the second set of signatures,
the first data object is in the first set of data objects,
the second data object is in the first set of modified data objects,
the mismatch is in the set of mismatches,
and
the second data object in the source distributed data object system is based on a modification to the first data object in the source distributed data object system.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
computing a first set of cyclic redundancy check values based on the first data object in the source distributed data object system; and
generating the first signature based on the first set of cyclic redundancy check values.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4, further comprising:
computing a first checksum value based on the first data object in the source distributed data object system; and
after the first data object is written to the target distributed data object system, obtaining a second checksum value for the second data object from the source distributed data object system;
wherein:
the first signature is based on the first checksum value, and
the second signature is based on the second checksum value.

### Claim 7 (depends on 4)

The computer-implemented method of claim 4, further comprising:
computing a first composite cyclic redundancy check value based on the first data object in the source distributed data object system; and
after the first data object is written to the target distributed data object system, obtaining a second composite cyclic redundancy check value for the second data object from the source distributed data object system;
wherein:
the first signature is based on the first composite cyclic redundancy check value, and
the second signature is based on the second composite cyclic redundancy check value.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
storing the first set of signatures in a relational database management system;
storing the second set of signatures in the relational database management system; and
comparing the first set of signatures to the second set of signatures based on issuing one or more structured query language statements to the relational database management system.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
establishing a first network connection between a first long-lived worker process and a network endpoint device associated with the target distributed data object system;
sending a first plurality of data objects of the first set of data objects using the first network connection;
based on determining that an actual data transmission rate over the first network connection is below an expected data transmission rate:
closing the first network connection,
establishing a second network connection between the first long-lived worker process and a network endpoint device associated with the target distributed data object system, and
sending a second plurality of data objects of the first set of data objects using the second network connection.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
using a long-lived worker process executing at a worker node to stream a first data object of the first set of data objects from the source distributed data object system to the target distributed data object system for storage in the target distributed data object system as a second data object of the second set of data objects; and
wherein the long-lived worker process buffers only a portion of the first data object at the worker node at any given time when streaming the first data object from the source distributed data object system to the target distributed data object system.

### Claim 11

One or more non-transitory storage media storing instructions which, when executed by a computing system having one or more processors, cause the computing system to perform:
using a set of long-lived worker processes to stream a first set of data objects from a source distributed data object system and to a target distributed data object system for storage in the target distributed data object system as a second set of data objects corresponding to the first set of data objects;
wherein each worker process of the set of long-lived worker processes streams at least two data objects of the first set of data objects from the source distributed data object system to the target distributed data object system;
comparing a first set of signatures for the first set of data objects to a second set of signatures for the second set of data objects; and
based on a set of mismatches between the first set of signatures and the second set of signatures, using the set of long-lived worker processes to stream a first set of modified data objects of the first set of data objects corresponding to the set of mismatches and to the target distributed data object system for storage for storage in the target distributed data object system as a second set of modified data objects corresponding to the first set of modified data objects.

### Claim 12 (depends on 11)

The one or more non-transitory storage media of claim 11, further comprising:
instructions which, when executed by the computing system, cause the computing system to perform:
comparing a set of signatures for the first set of modified data objects to a set of signatures for the second set of modified data objects corresponding to the first set of modified data objects; and
detecting an absence of any mismatches between the set of signatures for the first set of modified data objects and the set of signatures for the second set of modified data objects corresponding to the first set of modified data objects.

### Claim 13 (depends on 11)

The one or more non-transitory storage media of claim 11, further comprising:
using a set of long-lived worker processes to generate the first set of signatures for the first set of data objects; and
obtaining the second set of signatures from the source distributed data object system.

### Claim 14 (depends on 11)

The one or more non-transitory storage media of claim 11, further comprising:
instructions which, when executed by the computing system, cause the computing system to perform:
obtaining a first signature for a first data object in the source distributed data object system; and
after the first data object is copied to the target distributed data object system:
obtaining a second signature for a second data object in the source distributed data object system,
comparing the first signature to the second signature, and
based on a mismatch between the first signature and the second signature, using a long-lived worker process to stream the second data object from the source distributed data object system and to the target distributed data object system;
wherein:
the first signature is in the first set of signatures,
the second signature is in the second set of signatures,
the first data object is in the first set of data objects,
the second data object is in the first set of modified data objects,
the mismatch is in the set of mismatches, and
the second data object in the source distributed data object system is based on a modification to the first data object in the source distributed data object system.

### Claim 15

A computing system comprising:
a plurality of processors;
storage media; and
instructions stored in the storage media which, when executed by the plurality of processors, cause the computing system to perform:
using a set of long-lived worker processes to read a first set of data objects from a source distributed data object system and to write a second set of data objects corresponding to the first set of data objects to a target distributed data object system;
wherein each worker process of the set of long-lived worker processes reads at least two data objects of the first set of data objects from the source distributed data object system and writes at least two data objects of the second set of data objects to the target distributed data object system;
comparing a first set of signatures for the first set of data objects to a second set of signatures for the second set of data objects; and
based on a set of mismatches between the first set of signatures and the second set of signatures, using a set of long-lived worker processes to read a first set of modified data objects of the first set of data objects corresponding to the set of mismatches and to write a second set of modified data objects corresponding to the first set of modified data objects to the target distributed data object system.

### Claim 16 (depends on 15)

The computing system of claim 15, further comprising:
instructions which, when executed by the plurality of processors, cause the plurality of processors to perform:
obtaining the second set of signatures from the source distributed data object system.

### Claim 17 (depends on 15)

The computing system of claim 15, further comprising:
instructions which, when executed by the computing system, cause the computing system to perform:
obtaining a first signature for a first data object in the source distributed data object system;
after the first data object is stored at the target distributed data object system as a second data object:
obtaining a second signature for the data object in the source distributed data object system,
comparing the first signature to the second signature, and
based on a mismatch between the first signature and the second signature, using a long-lived worker process to read the first data object from the source distributed data object system and to write the first data object to the target distributed data object system;
wherein:
the first signature is in the first set of signatures,
the second signature is in the second set of signatures,
the first data object is in the first set of data objects,
the second data object is in the second set of data objects,
the mismatch is in the set of mismatches, and
the second data object in the source distributed data object system is based on a modification to the first data object in the source distributed data object system.

### Claim 18 (depends on 15)

The computing system of claim 15, further comprising:
instructions which, when executed by the computing system, cause the computing system to perform:
streaming the first set of data objects from the source distributed data object system to the target distributed data object system.

### Claim 19 (depends on 15)

The computing system of claim 15, further comprising:
instructions which, when executed by the computing system, cause the computing system to perform:
computing the second set of signatures while streaming the first set of data objects from the source distributed data object system to the target distributed data object system.

### Claim 20 (depends on 15)

The computing system of claim 15, further comprising:
obtaining the second set of signatures from the target distributed data object system.
