Patent · US Active

Method and apparatus for updating database by using two-phase commit distributed transaction

US11429599B2 · kind B2 · utility

0Cited by
1References
12Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 23, 2021
Grant dateAug 30, 2022
Priority date
Expiry dateJun 23, 2041

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/27
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.