hottub.patents
US 12,450,212 B2#3414406 Most CitedActiveUnited States (USPTO)Utility

Framework for live data migration

0Forward Citations (#3414406 Global)
0.0/yrCitation Velocity (#3414406 Global)
0.00Citation PageRank (#3414406 Global)
15Prior Art Cited
16Claims (3 Indep. · 13 Dep.)
7Drawings / Sheets

Abstract

Systems and methods including a framework for migration of live data. The method may comprised, by one or more hardware processors executing program instructions, receiving, at a migration proxy of the framework, code for reading data and writing data compatible with each of a plurality of states of a migration of data in a data store, wherein a service is at least intermittently reading data from and writing data to the data store; determining, by a migration runner of the framework, to perform the migration of the data; initiating, by the migration runner, the migration of the data, wherein the migration comprises a plurality of stages; storing, as the migration progresses through the plurality of stages, and at a migration data store of the framework, a current stage of the migration; and during the migration, using the migration proxy to read data from and write data to the data store.

Interactive Citation Constellation Global Citation Ranking

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

Claims (16 — 3 Independent, 13 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for migration of live data, the computer-implemented method comprising, by one or more hardware processors executing program instructions: receiving code for reading data and writing data compatible with at least a first data format and a second data format different from the first data format; initiating a migration of data from the first data format to the second data format, wherein the migration comprises a plurality of stages; and during the migration: reading data from either the first data format or the second data format; writing data to both the first and second data formats during stages of the migration in which rollback of the migration is supported; and writing data to the second data format and not writing data to the first data format during stages of the migration in which rollback of the migration is not supported.

  2. Claim 2Depends on #1

    The computer-implemented method of claim 1, wherein the code includes at least: a first read method compatible with the first data format, a second read method compatible with the second data format, a first write method compatible with the first data format, and a second write method compatible with the second data format.

  3. Claim 3Depends on #1

    The computer-implemented method of claim 1 further comprising, by the one or more hardware processors executing program instructions: determining a compatibility of the migration with a service in that accesses the data.

  4. Claim 4Depends on #3

    The computer-implemented method of claim 3, wherein determining the compatibility comprises: determining all nodes of the service; determining migrations supported by each of the determined nodes; and determining a maximum migration supported by all live nodes of the determined nodes.

  5. Claim 5Depends on #1

    The computer-implemented method of claim 1 further comprising, by the one or more hardware processors executing program instructions: assigning a monotonically increasing identifier to the migration.

  6. Claim 6Depends on #1

    The computer-implemented method of claim 1, wherein the migration is one of a plurality of migrations, and wherein each of the plurality of migrations is assigned a respective one of a plurality of monotonically increasing identifiers.

  7. Claim 7Depends on #1

    The computer-implemented method of claim 1 further comprising, by the one or more hardware processors executing program instructions: determining that the migration is available for the data; and employing, a first soak time before determining to perform the migration.

  8. Claim 8Depends on #1

    The computer-implemented method of claim 1 further comprising, by the one or more hardware processors executing program instructions: employing a second soak time before finishing the migration.

  9. Claim 9Depends on #1

    The computer-implemented method of claim 1, wherein the plurality of stages are ordered.

  10. Claim 10Depends on #1

    The computer-implemented method of claim 1, wherein the plurality of stages comprise at least: uninitialized, rolling back, initializing, running, awaiting additional action, awaiting finalization, finishing, and finished.

  11. Claim 11Depends on #10

    The computer-implemented method of claim 10, wherein the awaiting additional action stage comprises waiting for completion of an action outside of control of a framework managing the migration.

  12. Claim 12Depends on #1

    The computer-implemented method of claim 1, wherein during the migration, a write lock is in place during a change of a current stage of the migration, and a read lock is in place during the current stage of the migration during read or write operations.

  13. Claim 13Depends on #1

    The computer-implemented method of claim 1 further comprising, by the one or more hardware processors executing program instructions: rolling back the migration of the data to an initial state.

  14. Claim 14Depends on #1

    The computer-implemented method of claim 1 further comprising, by the one or more hardware processors executing program instructions: providing a user interface configured to receive migration specifications including at least: migration schema or format changes, code to migrate data from an old schema or format to a new schema or format, and code to remove any schema or forma elements no longer needed after the migration.

  15. Claim 15Independent Claim

    A system comprising: one or more non-transitory computer-readable storage medium having program instructions embodied therewith; and one or more processors configured to execute the program instructions to cause the system to: receive code for reading data and writing data compatible with at least a first data format and a second data format different from the first data format; initiate a migration of data from the first data format to the second data format, wherein the migration comprises a plurality of stages; and during the migration: read data from either the first data format or the second data format; write data to both the first and second data formats during stages of the migration in which rollback of the migration is supported; and write data to the second data format and not write data to the first data format during stages of the migration in which rollback of the migration is not supported.

  16. Claim 16Independent Claim

    A computer program product comprising one or more non-transitory computer-readable storage medium having program instructions embodied therewith, the program instructions executable by one or more processors to cause the one or more processors to: receive code for reading data and writing data compatible with at least a first data format and a second data format different from the first data format; initiate a migration of data from the first data format to the second data format, wherein the migration comprises a plurality of stages; and during the migration: read data from either the first data format or the second data format; write data to both the first and second data formats during stages of the migration in which rollback of the migration is supported; and write data to the second data format and not write data to the first data format during stages of the migration in which rollback of the migration is not supported.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/818,272, filed Aug. 8, 2022, and titled “ FRAMEWORK FOR ONLINE DATA MIGRATION, ” which application claims benefit of U.S. Provisional Patent Application No. 63/260,119, filed Aug. 10, 2021, and titled “ FRAMEWORK FOR ONLINE DATA MIGRATION. ” The entire disclosure of each of the above items is hereby made part of this specification as if set forth fully herein and incorporated by reference for all purposes, for all that it contains. Any and all applications for which a foreign or domestic priority claim is identified in the Application Data Sheet as filed with the present application are hereby incorporated by reference under 37 CFR 1.57 for all purposes and for all that they contain. TECHNICAL FIELD Embodiments of the present disclosure relate to systems and techniques for data migration. More specifically, embodiments of the present disclosure relate to systems and techniques, including a software framework, for migrating online, or live, data. BACKGROUND A background is provided for introductory purposes and to aid the reader in understanding the detailed description. The background should not be taken as an admission of any prior art to the claims. Software and/or hardware deployments or environments may be installed, upgraded, and/or otherwise changed. Managing multiple deployments/environments in the context of such installations, upgrades, and/or other changes can be a complex endeavor. For example, services running in one or more environments may have particular interdependencies that can be broken after a version upgrade to one service is implemented, but not another service. As another example, data migration (transferring data between storage types, formats, or computer systems) may be impacted by upgrades or changes within an environment. That is, data migration may include converting data from one schema to another schema, and the schema vers

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

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (15)

Non-Patent Literature (10)

  • Official Communication for European Patent Application No. 22189684.8 dated Nov. 11, 2024, 11 pages.
  • “
  • Architecting database migration and replication using Striim
  • ”
  • , last updated Jul. 27, 2021, retrieved from https://cloud.google.com/architecture/architecting-database-migration-replication-striim#use_cases_for_database_migration_and_replication on Aug. 3, 2021, 13 pages.
  • Christopher Bussler,
  • “
  • Online Database Migration by Dual-Write: This is not for Everyone
  • ”
  • , Jun. 23, 2020, retrieved from https://medium.com/google-cloud/online-database-migration-by-dual-write-this-is-not-for-everyone-cb4307118f4b on Aug. 3, 2021, 35 pages.