The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Aug. 30, 2022

Filed:

Jun. 23, 2021
Applicant:

Beijing Oceanbase Technology Co., Ltd., Beijing, CN;

Inventors:

Fusheng Han, Zhejiang, CN;

Jinliang Xiao, Zhejiang, CN;

Shanyan Gao, Zhejiang, CN;

Chuanhui Yang, Zhejiang, CN;

Yixin Luo, Zhejiang, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/23 (2019.01);
U.S. Cl.
CPC ...
G06F 16/2379 (2019.01); G06F 16/2343 (2019.01);
Abstract

Embodiments of the present specification provide a method for updating a database by using a two-phase commit distributed transaction. The method is applied to a coordinator, and includes: sending a first-phase prepare request message to each participant to end a current transaction, the current transaction being configured to update a target database record; and after receiving write lock advance release requests sent by all participants, returning a write lock advance release response to each participant to instruct each participant to unlock a target database record of the participant, the write lock advance release requests being sent by the participants after the participants successfully write a log of an update operation of the current transaction to a log buffer.


Find Patent Forward Citations

Loading…