Restoring data segments of rolled-back transactions in a clustered file system
First Claim
Patent Images
1. A method for restoring data segments of a rolled-back transaction in a clustered file system (CFS) using a processor device, the method comprising:
- restoring, in a cache, contents of the data segments that were modified during a transaction which is being rolled-back, to most recent contents of the data segments prior to the transaction commencing; and
identifying locations of the most recent contents of the data segments that are restored, including, for the data segments modified during the transaction, identifying a location of the most recent contents of the data segments prior to the transaction commencing;
wherein;
if the data segments were marked as modified in the cache at the time the data segments were inserted into a list of data segments;
determining the data segments to be a first type where the most recent contents of the data segments appear only in a transaction journal, andif the data segments are not marked as modified in the cache at the time the data segments were inserted into the list of data segments;
determining the data segments to be a second type where the most recent contents of the data segments appear only in a final storage location.
0 Assignments
0 Petitions
Accused Products
Abstract
Systems, Methods, and Computer Program Products are provided for restoring data segments in a clustered file system (CFS). Contents of the data segments, that were modified during a transaction, which is being rolled-back to the most recent contents of the data segments prior to the transaction commencing, are restored. Locations of the most recent contents of the data segments, which are restored, are identified.
-
Citations
18 Claims
-
1. A method for restoring data segments of a rolled-back transaction in a clustered file system (CFS) using a processor device, the method comprising:
-
restoring, in a cache, contents of the data segments that were modified during a transaction which is being rolled-back, to most recent contents of the data segments prior to the transaction commencing; and identifying locations of the most recent contents of the data segments that are restored, including, for the data segments modified during the transaction, identifying a location of the most recent contents of the data segments prior to the transaction commencing;
wherein;if the data segments were marked as modified in the cache at the time the data segments were inserted into a list of data segments; determining the data segments to be a first type where the most recent contents of the data segments appear only in a transaction journal, and if the data segments are not marked as modified in the cache at the time the data segments were inserted into the list of data segments; determining the data segments to be a second type where the most recent contents of the data segments appear only in a final storage location. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for restoring data segments of a rolled-back transaction in a clustered file system (CFS), the system comprising:
-
a cluster of nodes, the CFS including the cluster of nodes forming a computer cluster, a distributed shared memory (DSM) agent within a node of the cluster of nodes; a plurality of storage devices in communication with the CFS, a cache associated with the node, a transaction journal associated with the CFS, and a processor device having a memory coupled to the processor device for controlling the CFS, wherein the processor device is assigned to the node and the node is in communication with the plurality of storage devices, wherein the processor device; restores, in a cache, contents of the data segments that were modified during a transaction which is being rolled-back, to most recent contents of the data segments prior to the transaction commencing, and identifies locations of the most recent contents of the data segments that are restored, including, for the data segments modified during the transaction, identifying a location of the most recent contents of the data segments prior to the transaction commencing;
wherein;if the data segments were marked as modified in the cache at the time the data segments were inserted into a list of data segments; determining the data segments to be a first type where the most recent contents of the data segments appear only in a transaction journal, and if the data segments are not marked as modified in the cache at the time the data segments were inserted into the list of data segments; determining the data segments to be a second type where the most recent contents of the data segments appear only in a final storage location. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product for restoring data segments of a rolled-back transaction in a clustered file system (CFS) using a processor device, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
-
a first executable portion that restores, in a cache, contents of the data segments that were modified during a transaction which is being rolled-back, to most recent contents of the data segments prior to the transaction commencing, and a second executable portion that identifies locations of the most recent contents of the data segments that are restored, including, for the data segments modified during the transaction, identifying a location of the most recent contents of the data segments prior to the transaction commencing;
wherein;if the data segments were marked as modified in the cache at the time the data segments were inserted into a list of data segments; determining the data segments to be a first type where the most recent contents of the data segments appear only in a transaction journal, and if the data segments are not marked as modified in the cache at the time the data segments were inserted into the list of data segments; determining the data segments to be a second type where the most recent contents of the data segments appear only in a final storage location. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification