hottub.patents
US 12,306,808 B2#2229702 Most CitedActiveUnited States (USPTO)Utility

Live data migration system

1Forward Citations (#2229702 Global)
1.0/yrCitation Velocity (#2229702 Global)
0.17Citation PageRank (#2229702 Global)
25Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Systems, methods, and computer readable media for a live data migration system where the methods include accessing a command to perform a live data migration of a source datastore to a target datastore, accessing a delete operation, the delete operation indicating first data to be deleted from a datastore, and determining the datastore is stored in a source datastore. The methods further includes performing a two-phase commit delete of the first data from the source datastore and the target datastore, accessing a write operation, the write operation indicating second data, and performing a two-phase commit write of the second data to the source datastore and to the target datastore. The methods further include copying the source datastore to the target datastore, accessing a read operation, the read operation indicating third data to be read from the datastore, and performing the read operation of the third data from the target datastore.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 1.

Claims (8)

  1. Claim 1Independent Claim

    A method performed by a computing device, the method comprising: accessing a command to perform a live data migration of a source datastore to a target datastore; receiving a delete operation from an application program, the delete operation indicating first data to be deleted from a datastore; determining the datastore is stored in the source datastore; performing a two-phase commit delete of the first data from the source datastore and the target datastore; returning a confirmation to the application program that the first data has been deleted; determining a duration between accessing the delete operation and returning a confirmation of the delete operation; determining that the duration transgresses a latency threshold; refraining from progressing to accessing a write operation until the duration does not transgress the latency threshold; accessing the write operation, the write operation indicating second data to be written to the datastore; performing a two-phase commit write of

  2. Claim 2Depends on #1

    The method of claim 1 wherein the read operation is a first read operation and wherein the method further comprises: before the accessing the first read operation, in response to a second read operation being received, the second read operation indicating fourth data to be read from the datastore, performing a two-phase commit read of the fourth data from the source datastore and from the target datastore; comparing the fourth data read from the source datastore with the fourth data read from the target datastore; and determining the target datastore is inconsistent with the source datastore when the comparing indicates the fourth data read from the source datastore is different than the target datastore.

  3. Claim 3Depends on #2

    The method of claim 2 further comprising: in response to a determination that the target datastore is inconsistent, erasing the target datastore, and restarting the live data migration of the source datastore to the target datastore.

  4. Claim 4Depends on #1

    The method of claim 1 further comprising: after the copying the source datastore to the target datastore, restarting the live data migration of the source datastore to the target datastore when the data in the source datastore is different than the data in the target datastore.

  5. Claim 5Depends on #1

    The method of claim 1 further comprising: after the perform the read operation, refraining from writing data to the source datastore.

  6. Claim 6Depends on #1

    The method of claim 1 further comprising: after the performing the read of the third data, deleting the source datastore.

  7. Claim 7Depends on #1

    The method of claim 1 further comprising: determining a duration between accessing the delete operation and returning the confirmation; determining that the duration transgresses a latency threshold; and lowering a percentage of delete operations performed on the target datastore.

  8. Claim 8Depends on #1

    The method of claim 1 wherein the performing the two-phase commit delete of the first data from the source datastore and the target datastore further comprises: writing first metadata to a partition of the source datastore, the partition comprising the first data and the first metadata comprising a state indicating preparing and mutations of the two-phase commit delete; writing second metadata to a partition of the target datastore to indicate the partition of the target datastore is locked by the partition of the source datastore; updating the state of the first metadata to indicate committed and performing the delete on the first data in the partition of the source datastore; performing the delete on the first data in the partition of the target datastore and unlocking the partition of the target datastore; and updating the first metadata to remove the mutations of the two-phase commit delete and updating the state of the first metadata to indicate the delete is completed.

Technical Overview & Description

PRIORITY This application claims the benefit of priority of U.S. patent application Ser. No. 63/132,259, filed on Dec. 30, 2020, which is hereby incorporated by reference in its entirety TECHNICAL FIELD Examples of the present disclosure relate generally to live data migration between two datastores or databases. More particularly, but not by way of limitation, examples of the present disclosure relate to a live data migration system that migrates data from a source datastore or database to a destination datastore or database using cross store transactions with two-phase commit. BACKGROUND Datastores or databases servicing online applications often cannot simply be shut down without incurring significant expense. Often the online applications need to be continuously available with no downtime. However, the datastores or databases may need to be moved to different datastores or databases. The data may include photos, videos, AR/MR icons, and other types of media content items. Additionally, these types of data are susceptible to data corruption or data loss, which can result in system failures or a failure to properly provide storage facilities to the user of the online applications. BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. To easily identify the discussion of any particular element or act, the most significant digit or digits in a reference number refer to the figure number in which that element is first introduced. Some nonlimiting examples are illustrated in the figures of the accompanying drawings in which: FIG. 1 is a diagrammatic representation of a networked environment in which the present disclosure may be deployed, in accordance with some examples. FIG. 2 is a diagrammatic representation of a messaging system, in accordance with some examples, that has both client-side and server-side functionality. FIG. 3 is a diagramma

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (25)

PatentTitleYearCitations

Non-Patent Literature (10)

  • “
  • International Application Serial No. PCT/US2021/065657, International Search Report mailed Apr. 28, 2022
  • ”
  • , 4 pgs.
  • “
  • International Application Serial No. PCT/US2021/065657, Written Opinion mailed Apr. 28, 2022
  • ”
  • , 4 pgs.
  • Brodie, Michael L,
  • “