Weak leader election
First Claim
Patent Images
1. In a distributed system including a plurality of redundant components, a method for leader election by a first redundant component, comprising:
- multicasting age information, wherein the age information includes a duration of time on-line, particular to the first redundant component to all other components in the plurality of redundant components, the age information relating to one or more criteria according to which a currently-active leader component is to be determined;
receiving age information from each other component in the plurality of redundant components particular to each component and relating to the one or more criteria according to which the currently-active leader component is to be determined; and
determining whether the first redundant component is the currently-active leader component by comparing the age information particular to the first redundant component with the age information received from each of the redundant components,wherein if the first redundant component determines that it is not the currently-active leader component, the first component knows one of the components in the plurality of redundant components is the currently-active leader component.
2 Assignments
0 Petitions
Accused Products
Abstract
A weak leader election approach to determine which of a number of redundant nodes is the leader node is disclosed. The redundant nodes exchange information particular to them, such as age information. Based on the information received from the other nodes, each node determines whether it is the leader. Where the information is age information, a criteria that can be used to make this determination is that the oldest node is the leader. Each redundant node knows only whether it is the leader node. Redundant nodes that are not the leader do not know which node is the leader node.
-
Citations
14 Claims
-
1. In a distributed system including a plurality of redundant components, a method for leader election by a first redundant component, comprising:
-
multicasting age information, wherein the age information includes a duration of time on-line, particular to the first redundant component to all other components in the plurality of redundant components, the age information relating to one or more criteria according to which a currently-active leader component is to be determined; receiving age information from each other component in the plurality of redundant components particular to each component and relating to the one or more criteria according to which the currently-active leader component is to be determined; and determining whether the first redundant component is the currently-active leader component by comparing the age information particular to the first redundant component with the age information received from each of the redundant components, wherein if the first redundant component determines that it is not the currently-active leader component, the first component knows one of the components in the plurality of redundant components is the currently-active leader component. - View Dependent Claims (2, 3)
-
-
4. In a computer system including a plurality of redundant components, a method for electing a currently-active leader component, comprising:
-
multicasting currently-active leader election criteria information among all the plurality of redundant components; and at each component in the plurality of redundant components; a) determining whether the component is the currently-active leader component, based on a currently-active leader election criteria information received from all the other components in the plurality of redundant components, wherein the currently-active leader election criteria information includes age information, wherein the age information includes a duration of time on-line; and b) repeating the determining whenever the component detects an occurrence of a failure that has a potential to affect the currently-active leader component. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
Specification