US 11,995,099 B2
System and method for switching from consistent database to an eventual consistent database replica in real time while preventing reads of past versions of the data
Pavel Labovich, Bothell, WA (US); Denis Seniuc, Kenmore, WA (US); Vikas Yadav, Kirkland, WA (US); Yuly Suvorov, Kirkland, WA (US); and Eleanor Wong, Seattle, WA (US)
Assigned to Google LLC, Mountain View, CA (US)
Filed by Google LLC, Mountain View, CA (US)
Filed on Mar. 21, 2022, as Appl. No. 17/699,853.
Application 17/699,853 is a continuation of application No. 16/682,513, filed on Nov. 13, 2019, granted, now 11,288,285.
Prior Publication US 2022/0318265 A1, Oct. 6, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/20 (2019.01); G06F 16/23 (2019.01); G06F 16/27 (2019.01)
CPC G06F 16/27 (2019.01) [G06F 16/2379 (2019.01); G06F 16/273 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving data at a global clone in a region, the data being for a project and received from a global database for replication;
determining, by one or more processors in the region, whether the project is new by determining that no state for the project exists at the global clone in the region;
setting, by one or more processors in the region, a state for the project to a first state in response to determining that the project is new, wherein the first state is a pending state;
observing transactions for the project in the first state;
determining, with the one or more processors based on the observing, whether the global clone for the project is caught up to the global database; and
transitioning the project to a second state in response to determining that the global clone is caught up to the global database,
wherein the second state is a ready state for the project.