×

System and method for using cluster level quorum to prevent split brain scenario in a data grid cluster

  • US 9,063,787 B2
  • Filed: 01/17/2012
  • Issued: 06/23/2015
  • Est. Priority Date: 01/28/2011
  • Status: Active Grant
First Claim
Patent Images

1. A system for using cluster quorum to prevent split brain scenario in a distributed data grid cluster, comprising:

  • a data grid cluster comprising a plurality of cluster nodes wherein each cluster node comprises a microprocessor;

    a plurality of cluster services, wherein each cluster service runs on a particular cluster node of said plurality of cluster nodes in the data grid cluster and collects and maintains statistics regarding communication flow between the particular cluster node and other cluster nodes in the data grid cluster, and wherein the statistics are used by the data grid cluster to determine a status associated with each other cluster node in the data grid cluster when a disconnection event happens in the data grid cluster;

    a cluster quorum policy defined in a cache configuration file associated with the data grid cluster, wherein the cluster quorum policy specifies a minimum number of cluster nodes required to permit a decision whether to evict one or more cluster nodes from the data grid cluster, and a time period that the data grid cluster defers to make a decision on whether or not to evict one or more cluster nodes from the data grid cluster; and

    wherein, when one or more cluster nodes are detected to have been disconnected (disconnected nodes) from the data grid cluster as a results of a disconnection event,the data grid cluster defers to make a decision on whether or not to evict the disconnected nodes from the data grid cluster for the time period specified in the cluster quorum policy,if a connection is reestablished to the disconnected nodes prior to expiration of the time period specified in the cluster quorum policy, the data grid cluster does not evict the disconnected nodes; and

    if the connection is not reestablished to the disconnected nodes prior to expiration of the time period specified in the cluster quorum policy and a number of cluster nodes remaining in the cluster after excluding the disconnected nodes is equal to at least the minimum number of cluster nodes required to permit a decision whether to evict one or more cluster nodes from the data grid cluster, the data grid cluster does evict the disconnected nodes.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×