×

Leadership lease protocol for data replication groups

  • US 10,565,227 B1
  • Filed: 08/31/2016
  • Issued: 02/18/2020
  • Est. Priority Date: 08/31/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • determining a particular node of a plurality of nodes of a data replication group has been elected as a master node and setting a current state to a leased state, the plurality of nodes implementing a consensus protocol for replicating data across the plurality of nodes;

    transmitting, by the master node, heartbeat messages to individual nodes of the plurality of nodes;

    on a condition that responses to the heartbeat messages are not received by the master node from a quorum of the plurality of nodes within a heartbeat interval, suspending transmission of further heartbeat messages;

    on a condition that responses to the heartbeat messages are not received by the master node from a quorum of the plurality of nodes within a wait period, the wait interval being a period during which the master node waits to receive responses to pending heartbeat messages, the wait interval being greater than the heartbeat interval, setting the current state to an expiring state; and

    after expiration of a safety interval, the safety interval being greater than the wait interval, commencing election of a new master node.

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