Method, apparatus, and storage medium for migrating data node in database cluster
Abstract
The present disclosure is related to a method and an apparatus for data migration in a database cluster. The method includes obtaining a snapshot of a source data node and recording incremental data in a to-be-migrated data shard in the source data node according to inventory data. The method includes migrating the inventory data to a target data node. The method also includes migrating the incremental data, and during the migration when the unmigrated incremental data satisfies a preset write-lock condition, instructing the source data node to perform a write-lock operation on the to-be-migrated data shard and migrate unmigrated incremental data to the target data node. The method further includes, after the migration of the incremental data is completed, instructing a coordinator node to switch a route corresponding to the to-be-migrated data shard from the source data node to the target data node.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for data migration in a database cluster, the method comprising: obtaining, by a device comprising a memory and a processor in communication with the memory, a snapshot of a source data node of a database cluster; recording, by the device, incremental data in a to-be-migrated data shard in the source data node according to inventory data that is backed up in the snapshot and that is in the to-be-migrated data shard; migrating, by the device, the inventory data to a target data node of the database cluster; migrating, by the device, the incremental data by performing, by the device, it
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (3)
- International Search Report received for PCT Application No. PCT/CN2017/113563 dated Feb. 24, 2018 (with brief English translation), 6 pages.
- Office Action dated Dec. 3, 2019 for Chinese Application No. 201611090677.4 with concise English Translation, 8 pages.
- Written Opinion received for PCT Application No. PCT/CN2017/113563 dated Feb. 24, 2018 (Chinese), 3 pages.