Three phase commit for a distributed file system
AssigneeHewlett-Packard Development Company, L.P.
InventorsCharles S. Johnson, Charles B Morrey, III
Life of this patent
Estimating the term…
Abstract
A technique includes using a primary commit coordinator in a distributed file system as a participant in at least one transaction associated with a file operation to commit the transaction(s) to an associated storage segment of the file system. The primary commit coordinator is used to communicate with at least one other participant in the transaction(s) using a three phase commit protocol to generate transaction states associated with committing the transaction(s). The technique includes selectively checkpointing the transaction states to a backup commit coordinator that is associated with the primary commit coordinator to allow the backup commit coordinator to takeover committing the transaction.
Claims15
A method comprising:
- using a primary commit coordinator in a distributed file system as a participant in at least one transaction associated with a file operation to commit the at least one transaction to an associated storage segment of the file system;
- using the primary commit coordinator to communicate with at least one other participant in the at least one transaction using a three phase commit protocol to generate transaction states associated with committing the at least one transaction;
- and
- selectively checkpointing the transaction states to a backup commit coordinator associated with the primary commit coordinator to allow the backup commit coordinator to takeover committing the at least one transaction.
An apparatus comprising:
- a storage unit;
- and
- a primary commit coordinator of a distributed file systems, the primary coordinator to:
- participate in at least one transaction associated with a file operation to commit the at least one transaction to the storage unit;
- communicate with at least one other participant of the distributed file system in the at least one transaction using a three phase commit protocol to generate transaction states associated with committing the at least one transaction;
- and
- communicate with a backup commit coordinator of the distributed file system to selectively checkpoint the transaction states to allow the backup commit coordinator to takeover committing the at least one transaction in the event that the primary commit coordinator fails.
An article comprising a non-transitory computer readable storage medium to store instructions that when executed by a computer cause the computer to:
- use a primary commit coordinator in a distributed file system as a participant in at least one transaction associated with a file operation to commit the at least one transaction to an associated storage segment of the file system;
- use the primary commit coordinator to communicate with at least one other participant in the at least one transaction using a three phase commit protocol to generate transaction states associated with committing the at least one transaction;
- and
- selectively checkpoint the transaction states to a backup commit coordinator associated with the primary commit coordinator to allow the backup commit coordinator to takeover committing the at least one transaction.
Dependencies are inferred from the claim text.