Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

42 results about "Two-phase commit protocol" patented technology

In transaction processing, databases, and computer networking, the two-phase commit protocol (2PC) is a type of atomic commitment protocol (ACP). It is a distributed algorithm that coordinates all the processes that participate in a distributed atomic transaction on whether to commit or abort (roll back) the transaction (it is a specialized type of consensus protocol). The protocol achieves its goal even in many cases of temporary system failure (involving either process, network node, communication, etc. failures), and is thus widely used. However, it is not resilient to all possible failure configurations, and in rare cases, manual intervention is needed to remedy an outcome. To accommodate recovery from failure (automatic in most cases) the protocol's participants use logging of the protocol's states. Log records, which are typically slow to generate but survive failures, are used by the protocol's recovery procedures. Many protocol variants exist that primarily differ in logging strategies and recovery mechanisms. Though usually intended to be used infrequently, recovery procedures compose a substantial portion of the protocol, due to many possible failure scenarios to be considered and supported by the protocol.

One-phase commit in a shared-nothing database system

Techniques are provided for handling distributed transactions in shared-nothing database systems where one or more of the nodes have access to a shared persistent storage. Rather than coordinate the distributed transaction using a two-phase commit protocol, the coordinator of the distributed transaction uses a one-phase commit protocol with those participants that have access to the transaction status information maintained by the coordinator. The transaction status information may reside, for example, in the redo log of the coordinator. In the case that the coordinator fails, those participants can determine the state of the distributed transaction based on information stored on the shared disk. In addition, the coordinator is able to determine whether it is possible to commit the distributed transaction based on information that is stored on the shared disk by the participants, without those participants entering a formal “prepared” state.
Owner:ORACLE INT CORP

Distributed transaction committing failure handling method, device and system

An embodiment of the invention provides a distributed transaction committing failure handling method and device. The method includes the steps: recording the state of a distributed transaction as an unfinished state by a first node after committing the distributed transaction at a first stage; transmitting a transaction state query request including the sign of the distributed transaction to a second node according to the recorded unfinished state of the distributed transaction after the first node fails or network connection between the first node and the second node fails and failure recovers; repairing the distributed transaction at a second stage according to the state of the distributed transaction returned by the second node. By the method, the problem that the distributed transaction cannot be automatically repaired when second-stage committing failure of the distributed transaction occurs can be solved, and atomicity and uniformity of the distributed transaction are ensured.
Owner:HUAWEI TECH CO LTD

Method for guaranteeing data final consistency through system based on micro-service framework

The invention relates to the technical field of micro-service development, in particular to a method for guaranteeing the data final consistency through a system based on a micro-service framework. Through the combination of a method using a message queue and the determination and retransmission mechanism of messages, final consistency can be achieved after automatic or manual compensation; modules related to the final data consistency include an upstream application for executing service and sending MQ messages, a reliable message service and message assembly for coordinating with the transmission of downstream messages and ensuring the consistency of upstream data and downstream data, and a downstream application for monitoring the MQ messages and executing service. The problems that traditional two-stage protocol submitting performance is poor and a processing chain is long are solved.
Owner:G CLOUD TECH

Distributed flash memory transaction processing method

The invention discloses a distributed flash memory transaction processing method. The method comprises the following steps: S1, carrying out two-phase commit on a transaction, wherein state log records of the two-phase commit protocol are removed and internalized as flash memory metadata operations in interfaces of the transaction, and the end of the distributed transaction is marked with the final commit of a coordinator; S2, during the process of the transaction, storing a data temporary object as a shadow version, wherein a shadow mapping table is used for storing the address of the shadow version or the state of a page in the transaction processing, metadata of the page is used for recording information of the transaction, a transaction metadata page is used for recording the state of the transaction and a transaction state table is used for recording the address of the transaction metadata page; and S3, when the coordinator or a participant has a fault, scanning a part of the memory, reading the flash memory metadata and restoring an FTL mapping table, the shadow mapping table and the transaction state table so as to determine the state of the transaction during the two-phase commit. The distributed flash memory transaction processing method disclosed by the invention has the following advantages that the logs are decreased and the transaction processing efficiency under the distributed flash memory environment is improved.
Owner:TSINGHUA UNIV

Systems and methods for communicating information of participants registered with a sub-coordinator during distributed transaction processing

Systems and methods are provided for prepare list communication to participants in a two-phase commit protocol transaction processing. An exemplary method includes receiving a distributed transaction for processing, wherein the processing uses a two-phase commit protocol, receiving a distributed transaction comprising a plurality of processes for processing, wherein the processing uses a two-phase commit protocol and preparing, by a main coordinator, at least one participating processing node from the plurality of processes, wherein the at least one participating processing node comprises a first sub-coordinator and a first participant, and wherein the first participant executes a first process of the plurality of processes. The method further includes receiving, by the main coordinator, a first list comprising the first participant registered with the first sub-coordinator. The method may further include contacting, by the main coordinator, the first participant using the first list, in the event of system or first sub-coordinator failure.
Owner:RED HAT

Method for ensuring data consistency under micro-service framework HTTP interaction mode

The invention relates to the technical field of micro-service development, in particular to a method for ensuring the data consistency under a micro-service framework HTTP interaction mode. The methodincludes the steps of calling pre-operations of all auxiliary business service through a main business service, recording all the auxiliary business service in a movement manager, continuing the business if the pre-operations of all the auxiliary business service succeed or the pre-operation of a certain auxiliary business service fails, otherwise, stopping executing the execution business, if the pre-operations of all the auxiliary business service succeed, calling confirming operations of all the auxiliary business server through a collaborator, rolling back all the confirming operations and executing canceling operations of the auxiliary business service if the confirming operations fail, calling the canceling operations of all the auxiliary business service if the pre-operations of part of auxiliary business service fail till canceling succeeds. The problem that a traditional two-stage submitted protocol is poor in performance and not suitable for a micro-service framework is solved, and the three simple semantic operations on the business service can be achieved and called.
Owner:G CLOUD TECH

Transaction processing system and transaction method for Web service

A Web service transaction processing system, which includes three parts: a client, a coordinator, and multiple participants, which are connected to each other through the Internet; among them, the participants and the coordinator are deployed as Web service providers, coordinators, and processors on the Web The platform on which the service runs. The process of Web service transaction processing is actually the process of coordination and interaction between these three parts; the client initiates the transaction, divides the transaction boundary and submits the transaction, the coordinator manages and coordinates the transaction, and the participants provide and participate in the Web service transaction. The client only initiates the transaction, divides the transaction boundary, submits or cancels the transaction, and the main work of the transaction is completed by the interaction between the coordinator and the participants. The invention also discloses a Web service transaction processing method, which utilizes the above transaction processing system, adopts a two-stage submission protocol to ensure the atomicity, consistency and reliability of each transaction, and monitors, configures and manages the transactions. The two-phase commit protocol includes a coordination phase and a transaction phase.
Owner:BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products