Method and system for discarding locally committed transactions to ensure consistency in a server cluster
US6449734B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Apr 17, 1998 |
| Grant date | Sep 10, 2002 |
| Priority date | — |
| Expiry date | Apr 17, 2018 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99938
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and system for forming a new cluster of servers having state data that is consistent with the state data of a cluster that previously existed. The previous cluster preserves its state data by recording transactions to a log file in conjunction with a sequence number maintained by each node. The node that recorded the transaction then increments its copy of the sequence number and attempts to replicate the transaction to other nodes of the cluster. If the transaction is replicated, each other node commits the transaction and increments its sequence number. If the node fails before it can replicate the transaction, then no other nodes will increment their sequence numbers, whereby the next logged transaction has the same sequence number as the previously logged, but orphaned replicated transaction. When a new node forms a cluster, it unrolls the log file so as to become consistent with the state of the previous cluster. Logged transactions having duplicate sequence numbers indicate that the first such transaction was not fully replicated. To remain consistent, the first transaction is discarded and not used to update the state of the new cluster.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.