US 11,995,069 B2
Systems and methods for a distributed database to transition between centralized transaction management and global clock transaction management with little to no downtime
Huaxin Zhang, Markham (CA); Ronen Grosman, Markham (CA); and Rongzhen Cui, Kanata (CA)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Jun. 28, 2022, as Appl. No. 17/851,892.
Prior Publication US 2023/0418810 A1, Dec. 28, 2023
Int. Cl. G06F 16/00 (2019.01); G06F 16/23 (2019.01); G06F 16/27 (2019.01)
CPC G06F 16/2379 (2019.01) [G06F 16/27 (2019.01)] 14 Claims
OG exemplary drawing
 
1. A method for an online transaction system to transition from operating under a first mode where transactions nodes identify sequential transactions with sequential identification numbers obtained from a global transaction server (GTS) to a second mode where the transaction nodes identify consecutive transactions with timestamps based on global clock servers (GCSs) coupled to the transaction nodes, the method comprising:
at a controller coupled to the transaction nodes and to the GTS:
instructing the transaction nodes and the GTS to operate under a transition mode;
obtaining confirmation that each transaction node is operating under the transition mode, each transaction node being configured to, when operating under the transition mode, provide to the GTS timestamps and timestamp error bounds based on the GCSs;
after having obtained confirmation that each transaction node is operating under the transition mode, obtaining a largest error bound value (Max_eb) from all the error bounds received at the GTS; and
instructing the transaction nodes to operate under the second mode but to wait for a duration equal to at least the Max_eb before issuing any timestamp under the second node.