System and method for providing partition persistent state consistency in a distributed data grid
First Claim
1. A method for providing partition persistent state consistency in a distributed data grid, comprising:
- providing a primary copy of a partition on a first node in the distributed data grid, wherein the primary copy of the partion is associated with a primary copy version number;
providing a backup copy of the partition on a second node in the distributed data grid, wherein the backup copy of the partition is associated with a backup copy version number;
making a first modification to the primary copy of the partition;
propagating the first modification from the first node to the second node by transmitting a first message containing said first modification from the first node to the second node;
making a second modification to the primary copy of the partition;
propagating the second modification from the first node to the second node by transmitting a second message containing said second modification from the first node to the second node;
receiving the second message at the second node;
determining at the second node whether the first modification has been applied to the backup copy of the partition by checking the backup copy version number; and
deferring applying the second modification on the backup copy of the partition until the first modification is received and applied as indicated by checking the backup copy version number.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can provide partition persistent state consistency in a distributed data grid. The distributed data grid can provide a plurality of copies of a partition on a plurality of cluster nodes in the distributed data grid, wherein the plurality of cluster nodes includes a primary owner node and one or more backup nodes for the partition. The primary owner node can propagate one or more modifications of the partition from the primary owner node to the one or more backup nodes. The distributed data grid can ensure consistency among the plurality copies of the partition on the plurality of cluster nodes in the distributed data grid.
73 Citations
20 Claims
-
1. A method for providing partition persistent state consistency in a distributed data grid, comprising:
-
providing a primary copy of a partition on a first node in the distributed data grid, wherein the primary copy of the partion is associated with a primary copy version number; providing a backup copy of the partition on a second node in the distributed data grid, wherein the backup copy of the partition is associated with a backup copy version number; making a first modification to the primary copy of the partition; propagating the first modification from the first node to the second node by transmitting a first message containing said first modification from the first node to the second node; making a second modification to the primary copy of the partition; propagating the second modification from the first node to the second node by transmitting a second message containing said second modification from the first node to the second node; receiving the second message at the second node; determining at the second node whether the first modification has been applied to the backup copy of the partition by checking the backup copy version number; and deferring applying the second modification on the backup copy of the partition until the first modification is received and applied as indicated by checking the backup copy version number. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system which provides partition persistent state consistency in a distributed data grid, the system comprising:
-
one or more microprocessors; a first node and a second node in the distributed data grid operating on said one or more microprocessors; a primary copy of a partition on the first node in the distributed data grid, wherein the primary copy of the partion is associated with a primary copy version number; a backup copy of the partition on the second node in the distributed data grid, wherein the backup copy of the partition is associated with a backup copy version number; wherein the first node is configured to, make a first modification to the primary copy of the partition, propagate the first modification from the first node to the second node by transmitting a first message containing said first modification from the first node to the second node, make a second modification to the primary copy of the partition, and propagate the second modification from the first node to the second node by transmitting a second message containing said second modification from the first node to the second node; and wherein the second node is configured to, receive the second message, determine whether the first modification has been applied to the backup copy of the partition by checking the backup copy version number, and defer applying the second modification on the backup copy of the partition until the first modification is received and applied as indicated by checking the backup copy version number. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A non-transitory machine readable storage medium having instructions stored thereon for providing partition persistent state consistency in a distributed data grid, which instructions, when executed cause a system to perform steps comprising:
-
providing a primary copy of a partition on a first node in the distributed data grid, wherein the primary copy of the partion is associated with a primary copy version number; providing a backup copy of the partition on a second node in the distributed data grid, wherein the backup copy of the partition is associated with a backup copy version number; making a first modification to the primary copy of the partition; propagating the first modification from the first node to the second node by transmitting a first message containing said first modification from the first node to the second node; making a second modification to the primary copy of the partition; propagating the second modification from the first node to the second node by transmitting a second message containing said second modification from the first node to the second node; receiving the second message at the second node; determining at the second node whether the first modification has been applied to the backup copy of the partition by checking the backup copy version number; and deferring applying the second modification on the backup copy of the partition until the first modification is received and applied as indicated by checking the backup copy version number.
-
Specification