Rollback processing method and apparatus

A processing method and processing device technology, applied in the computer field, can solve the problems that the transaction coordinator fails to receive within the specified time, branch transactions cannot be rolled back, transaction participants fail to receive within the specified time, etc.

Active Publication Date: 2016-10-05
ADVANCED NEW TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In the above process, the transaction coordinator may fail to receive the branch transaction addition request within the specified time or the transaction participant may fail to receive the call request within the specified time due to a network timeout. At this time, timeout processing will be performed. That is, a rollback request is initiated to the trans

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rollback processing method and apparatus
  • Rollback processing method and apparatus
  • Rollback processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0027] figure 1 It is a schematic flowchart of a rollback processing method provided by an embodiment of the present application. This method is suitable for distributed transactions, which involve transaction initiators, transaction participants and transaction coordinators; for a distributed transaction, there is usually only one transaction initiator and ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a rollback processing method and apparatus. The method is suitable for distributed transaction, and the distributed transaction relates to a transaction initiator, a transaction participant and a transaction coordinator. The method comprises the steps that a rollback request initiator receives a rollback processing request, wherein the rollback request initiator is the transaction participant or the transaction coordinator; the rollback request initiator obtains first time according to starting time of the distributed transaction and a specified time interval; and the rollback request initiator performs rollback processing when the first time is earlier than current time. According to the rollback processing method and apparatus, the problem of rollback suspension in the distributed transaction can be solved.

Description

【Technical field】 [0001] The present application relates to the field of computer technology, in particular to a rollback processing method and device. 【Background technique】 [0002] The transaction participants, transaction initiators, and transaction coordinators involved in distributed transactions are located on different nodes of different distributed systems. The transaction initiator is responsible for initiating distributed transactions; the transaction coordinator is responsible for managing the life cycle of distributed transactions and all branch transactions in distributed transactions; transaction participants are responsible for executing branch transactions in distributed transactions. [0003] The existing distributed transaction processing flow is as follows: [0004] The transaction initiator sends a transaction request to the transaction coordinator to indicate the initiation of a distributed transaction; the transaction coordinator creates a master tran...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 左正彬
Owner ADVANCED NEW TECH CO LTD
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