Method for keeping data consistent across different storage systems, computing device, and storage medium
AssigneeAlibaba Cloud Computing Ltd.
InventorsHuan Liu, Ruo Wang, Guoyun Zhu
Life of this patent
Estimating the term…
Loading patent…
AssigneeAlibaba Cloud Computing Ltd.
InventorsHuan Liu, Ruo Wang, Guoyun Zhu
Estimating the term…
A method and apparatus for keeping data consistent across different storage systems are provided. The method includes: when a first storage system is updated, processing first data to be unreadable, and generating or updating a version number corresponding to a first primary key; when the first data is unable to be read from a second storage system, acquiring a latest version number of the first primary key, and reading second data from the first storage system; comparing the acquired version number with the latest version number of the first primary key; if consistent, updating the second data into the second storage system using an atomic operation, and updating the version number corresponding to the first primary key; and if inconsistent, re-performing the step of acquiring the latest version number of the first primary key and reading the second data from the first storage system.
A method for keeping data consistent across different storage systems, implemented by one or more computing devices, wherein the method comprises a writing process and a reading process, wherein the method comprises:
A computing device, comprising:
A non-transitory computer readable storage medium, storing computer instructions, wherein the computer instructions, when executed by a processor, implement steps of:
Dependencies are inferred from the claim text.