9424145

Ensuring the Same Completion Status for Transactions After Recovery in a Synchronous Replication Environment

PublishedAugust 23, 2016
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
15 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method performed by a Relational Database Management System (RDMS), the method comprising: detecting that the RDMS is recovering from a failure; receiving, over the network, a request from a replication component to obtain a last committed transaction of a transaction log of the RDMS; responsive to receiving the request, sending the last committed transaction of the transaction log of the RDMS to the replication component; receiving, from the replication component, a last committed transaction of the replication component, the last committed transaction of the replication component identifying a transaction that was the last committed transaction at the replication component at a time of RDMS failure; determining, using one or more processors, that a transaction log on the RDMS includes a transaction that had not yet been replicated at the time of RDMS failure, the transaction that had not yet been replicated at the time of RDMS failure being committed on the transaction log subsequent to the last committed transaction of the replication component received from the replication component; and based on the determining that the transaction log includes the transaction that had not yet been replicated at the time of RDMS failure, rolling back the transaction that had not yet been replicated at the time of RDMS failure.

2

2. The method of claim 1 , comprising: receiving, from the replication component, a transaction that was committed on the replication component but was not committed on the transaction log prior to the time of RDMS failure; and writing the transaction to the transaction log.

3

3. The method of claim 1 , wherein rolling back the transaction that had not yet been replicated at the time of RDMS failure comprises: inserting at least one log record into the transaction log to reverse the work of the transaction that had not yet been replicated at the time of failure.

4

4. A Relational Database Management System (RDMS) comprising: a processor configured to include: a replication agent module configured to: detect that the RDMS is recovering from a failure; receive, over the network, a request from a replication component to obtain a last committed transaction of a transaction log of the RDMS; responsive to receiving the request, send the last committed transaction of the transaction log of the RDMS to the replication component: receive, from the replication component, a last committed transaction on the replication component, the last committed transaction the replication component identifying a transaction that was the last committed transaction at the replication component at a time of RDMS failure; determine, using one or more processors, that the RDMS includes a transaction that had not yet been replicated at the time of RDMS failure, the transaction that had not yet been replicated at the time of RDMS failure being committed on the RDMS subsequent to the last committed transaction on the replication component received from the replication component; and cause the transaction that had not yet been replicated at the time of RDMS failure to be rolled back based on the determining that the transaction log includes the transaction that had not yet been replicated at the time of RDMS failure.

5

5. The RDMS of claim 4 , wherein the replication agent module is configured to: receive, from the replication component, a transaction that was committed on the replication component but was not committed on the RDMS prior to the time of RDMS failure; and cause the transaction to be committed on the RDMS.

6

6. The RDMS of claim 4 , wherein the RDMS is configured to transition to a standby mode and wherein the replication agent module is configured to receive, from the replication component, a transaction committed by a newly active RDMS.

7

7. A machine-readable medium that stores instructions, which when performed by a machine, causes the machine to perform the operations comprising: receiving, over the network, a request from a replication component to obtain a last committed transaction of a transaction log of a Relational Database Management System (RDMS); responsive to receiving the request, sending the last committed transaction of the transaction log of the RDMS to the replication component; receiving, from the replication component, a last committed transaction of the replication component, the last committed transaction identifying a transaction that was the last committed transaction at the replication component at a time of RDMS failure; determining, using one or more processors, that a transaction log on the RDMS includes a transaction that had not yet been replicated at the time of RDMS failure, the transaction that had not yet been replicated at the time of RDMS failure being committed on the transaction log subsequent to the last committed transaction of the replication component received from the replication component; and based on the determining that the transaction log includes the transaction that had not yet been replicated at the time of RDMS failure, rolling back the transaction that had not yet been replicated at the time of RDMS failure.

8

8. The machine-readable medium of claim 7 , wherein the operations comprise: receiving from the replication component, a transaction that was committed on the replication component but was not committed on the transaction log prior to the time of RDMS failure; and writing the transaction to the transaction log.

9

9. A method performed by a replication component, the method comprising: using one or more computer processors configured to perform the operations of: sending a request for a last committed transaction to a Relational Database Management System (RDMS), the last committed transaction being a last transaction that was committed on a transaction log of the RDMS prior to a failure of the RDMS; receiving the last committed transaction from the RDMS; receiving a request from the RDMS for a last committed transaction on the transaction log of the replication component at the time of failure of the RDMS; sending the last committed transaction on the transaction log of the replication component at the time of failure of the RDMS to the RDMS; determining that an unconfirmed transaction stored in a transaction log of the replication component is subsequent to the last committed transaction from the RDMS; and sending the unconfirmed transaction to the RDMS.

10

10. The method of claim 9 , comprising: identifying a new transaction, the new transaction being a transaction that was replicated to the replication component from a second RDMS; and sending the new transaction to the RDMS.

11

11. The method of claim 9 , wherein the unconfirmed transaction is a transaction replicated from the RDMS which was not indicated as written to disk by the RDMS at a time it was replicated.

12

12. A system comprising: one or more computer processors configured to include: a replication module configured to: detect that a Relational Database Management System (RDMS) has come back into service after going out of service; send a request for a last committed transaction on the RDMS, the last committed transaction being a last transaction that was committed on a transaction log of the RDMS prior to a failure of the RDMS; receive the last committed transaction from the RDMS; receive a request from the RDMS for a last committed transaction on a transaction log of the replication module at the time of failure of the RDMS; send the last committed transaction on the transaction log of the replication module at the time of failure of the RDMS to the RDMS; determine, using the one or more processors, that an unconfirmed transaction stored in the transaction log of the replication module is subsequent to the last committed transaction from the RDMS; and send the unconfirmed transaction to the RDMS.

13

13. The replication component of claim 12 , wherein the unconfirmed transaction is a transaction replicated from the RDMS which was not indicated as written to disk by the RDMS at a time it was replicated.

14

14. The replication component of claim 12 , wherein the replication module is configured to: synchronously replicate a database from a second RDMS to the RDMS.

15

15. A machine-readable medium that stores instructions, which when performed by a machine, causes the machine to perform the operations comprising: receiving a last committed transaction from a Relational Database Management System (RDMS), the last committed transaction being a last transaction that was committed on the RDMS prior to a failure of the RDMS; receiving a request from the RDMS for a last committed transaction on a transaction log of a replication component at the time of failure of the RDMS; sending the last committed transaction on the transaction log of the replication component at the time of failure of the RDMS to the RDMS; determining that an unconfirmed transaction stored in the transaction log of the replication component is subsequent to the last committed transaction from the RDMS; and sending the unconfirmed transaction to the RDMS, wherein the RDMS applies the unconfirmed transaction.

Patent Metadata

Filing Date

Unknown

Publication Date

August 23, 2016

Inventors

Heping Shang
Ming-Chen Lo
Fei Zhou
Tom Campbell
Frank de Lange
Guo Gang Ye
Xia-ge Dai

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “ENSURING THE SAME COMPLETION STATUS FOR TRANSACTIONS AFTER RECOVERY IN A SYNCHRONOUS REPLICATION ENVIRONMENT” (9424145). https://patentable.app/patents/9424145

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.