METHOD AND SYSTEM FOR DATA RECOVERY IN A DATA SYSTEM
First Claim
1. A method, implemented on a machine having at least one processor, storage, and a communication platform connected to a network for managing a request in a data system comprising a plurality of nodes, the method comprising:
- receiving, by a first node in the data system, a request for a transaction of data;
determining a second node in the data system based on the request, wherein the second node is to carry out the transaction;
storing the request into a first request queue at the first node;
sending the request to the second node;
obtaining a notice indicating that information associated with the transaction has been persistently stored; and
removing the request from the first request queue in response to the notice.
6 Assignments
0 Petitions
Accused Products
Abstract
The present teaching relates to request management and data recovery in a data system. In one example, a request is received for a transaction of data by a first node in the data system. A second node in the data system is determined based on the request. The second node is to carry out the transaction. The request is stored into a first request queue at the first node. The request is sent to the second node. A notice is obtained indicating that information associated with the transaction has been persistently stored. The request is removed from the first request queue in response to the notice.
-
Citations
20 Claims
-
1. A method, implemented on a machine having at least one processor, storage, and a communication platform connected to a network for managing a request in a data system comprising a plurality of nodes, the method comprising:
-
receiving, by a first node in the data system, a request for a transaction of data; determining a second node in the data system based on the request, wherein the second node is to carry out the transaction; storing the request into a first request queue at the first node; sending the request to the second node; obtaining a notice indicating that information associated with the transaction has been persistently stored; and removing the request from the first request queue in response to the notice. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method, implemented on a machine haying at least one processor, storage, and a communication platform connected to a network for data recovery at a first node in a data system comprising a plurality of nodes and a persistent storage, the method comprising:
-
detecting, at the first node, a failure in connection with first data; obtaining information associated with a most recent transaction related to the first node from the persistent storage; requesting each of the other nodes in the data system to transmit one or more transaction requests previously sent to the first node after the most recent transaction; receiving, from at least one of the other nodes, the one or more transaction requests; determining a sequence of one or more transactions associated with the one or more transaction requests; and executing the one or more transactions according to the sequence in order to recover the first data at the first node. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A system having at least one processor, storage, and a communication platform connected to a network for managing a request in a data system comprising a plurality of nodes, the system comprising:
-
a request analyzer located in a first node in the data system and configured for receiving a request for a transaction of data; a coordinate site determiner located in the first node and configured for determining a second node in the data system based on the request and storing the request into a first request queue at the first node, wherein the second node is to carry out the transaction; a transaction forwarding unit located in the first node and configured for sending the request to the second node; a transaction obtaining controller located in the first node and configured for obtaining a notice indicating that information associated with the transaction has been persistently stored; and a request queue clearing unit located in the first node and configured for removing the request from the first request queue in response to the notice. - View Dependent Claims (13, 14)
-
-
15. A system having at least one processor, storage, and a communication platform connected to a network for data recovery at a first node in a data system comprising a plurality of nodes and a persistent storage, the system comprising:
-
a recovery initiator located in the first node and configured for detecting a failure in connection with first data; a commit log retrieving unit located in the first node and configured for obtaining information associated with a most recent transaction related to the first node from the persistent storage; a buffered request demander located in the first node and configured for requesting each of the other nodes in the data system to transmit one or more transaction requests previously sent to the first node after the most recent transaction; a buffered request receiver located in the first node and configured for receiving, from at least one of the other nodes, the one or more transaction requests; a transaction sequence determiner located in the first node and configured for determining a sequence of one or more transactions associated with the one or more transaction requests; and one or more partition execution engines located in the first node and configured for executing the one or more transactions according to the sequence in order to recover the first data at the first node. - View Dependent Claims (16, 17, 18)
-
-
19. A machine-readable, non-transitory and tangible medium having information recorded thereon for managing a request in a data system comprising a plurality of nodes, wherein the information, when read by the machine, causes the machine to perform the following:
-
receiving, by a first node in the data system, a request for a transaction of data; determining a second node in the data system based on the request, wherein the second node is to carry out the transaction; storing the request into a first request queue at the first node; sending the request to the second node; obtaining a notice indicating that information associated with the transaction has been persistently stored; and removing the request from the first request queue in response to the notice.
-
-
20. A machine-readable, non-transitory and tangible medium haying information recorded thereon for data recovery at a first node in a data system comprising a plurality of nodes and a persistent storage, wherein the information, when read by the machine, causes the machine to perform the following:
-
detecting, at the first node, a failure in connection with first data; obtaining information associated with a most recent transaction related to the first node from the persistent storage; requesting each of the other nodes in the data system to transmit one or more transaction requests previously sent to the first node after the most recent transaction; receiving, from at least one of the other nodes, the one or more transaction requests; determining a sequence of one or more transactions associated with the one or more transaction requests; and executing the one or more transactions according to the sequence in order to recover the first data at the first node.
-
Specification