# US 2025/0133131 A1 · Raft consensus vice leader optimization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0133131 A1
- Document ID: US20250133131A1
- Status: Published application
- Kind: A1
- Application number: 18/491,596
- Filed: 2023-10-20
- Published: 2025-04-24
- Earliest claimed: 2023-10-20
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Ming Zhu; David Brower; Stefan Pommerenk
- Web page: https://patentgrep.com/patent/US20250133131A1

## CPC

- H04L 67/1051: {Group master selection mechanisms}
- G06F 11/1425: {by reconfiguration of node membership}
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- H04L 67/1057: {involving pre-assessment of levels of reputation of peers}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described is an improved system, method, and computer program product for performing elections in a computing system. Approaches are described for the non-leader member of a member set to self-identify to be the vice-leader. When it detects a death, rather than wait the random, bounded period, the vice-leader can immediately send its “vote for me” message to other members. This puts it ahead of the race by other members to announce their candidacies, and results in vastly more frequent conclusion of the election in the initial round.

## Claims

### Claim 1

A computer-implemented method, comprising:
sorting member nodes of a voting set according to a sorting criteria;
selecting a first member node as a vice-leader node according to the sorting criteria;
sending a first vote request from the vice-leader node without waiting for a RAFT-imposed delay period; and
sending a second vote request from another node after waiting for the RAFT-imposed delay period.

### Claim 2 (depends on 1)

The method of claim 1, wherein a member list is maintained at each of the member nodes, and localized self-determination is performed to determine whether a given node is selected as the vice-leader node.

### Claim 3 (depends on 1)

The method of claim 1, wherein each of the member nodes is associated with a respective unique identifier, and the respective unique identifier is used to implement sorting of the member nodes.

### Claim 4 (depends on 1)

The method of claim 1, wherein communication status information is maintained at each of the member nodes with respect to other nodes, and the communication status information is used to filter a member node from being considered to be the vice-leader.

### Claim 5 (depends on 4)

The method of claim 4, wherein the communication status information corresponds to a channel status between nodes.

### Claim 6 (depends on 1)

The method of claim 1, wherein a discriminant value is further used to select the first member node as the vice-leader node.

### Claim 7 (depends on 6)

The method of claim 6, wherein the discriminant value comprises at least one of a CPU value, a memory value, or a network value.

### Claim 8

A computer program product embodied on a computer readable medium, the computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, executes:
sorting member nodes of a voting set according to a sorting criteria;
selecting a first member node as a vice-leader node according to the sorting criteria;
sending a first vote request from the vice-leader node without waiting for a RAFT-imposed delay period; and
sending a second vote request from another node after waiting for the RAFT-imposed delay period.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein a member list is maintained at each of the member nodes, and localized self-determination is performed to determine whether a given node is selected as the vice-leader node.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein each of the member nodes is associated with a respective unique identifier, and the respective unique identifier is used to implement sorting of the member nodes.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein communication status information is maintained at each of the member nodes with respect to other nodes, and the communication status information is used to filter a member node from being considered to be the vice-leader.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the communication status information corresponds to a channel status between nodes.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein a discriminant value is further used to select the first member node as the vice-leader node.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the discriminant value comprises at least one of a CPU value, a memory value, or a network value.

### Claim 15

A system, comprising:
a processor;
a memory for holding programmable code; and
wherein the programmable code includes instructions for sorting member nodes of a voting set according to a sorting criteria; selecting a first member node as a vice-leader node according to the sorting criteria; sending a first vote request from the vice-leader node without waiting for a RAFT-imposed delay period; and sending a second vote request from another node after waiting for the RAFT-imposed delay period.

### Claim 16 (depends on 15)

The system of claim 15, wherein a member list is maintained at each of the member nodes, and localized self-determination is performed to determine whether a given node is selected as the vice-leader node.

### Claim 17 (depends on 15)

The system of claim 15, wherein each of the member nodes is associated with a respective unique identifier, and the respective unique identifier is used to implement sorting of the member nodes.

### Claim 18 (depends on 15)

The system of claim 15, wherein communication status information is maintained at each of the member nodes with respect to other nodes, and the communication status information is used to filter a member node from being considered to be the vice-leader.

### Claim 19 (depends on 18)

The system of claim 18, wherein the communication status information corresponds to a channel status between nodes.

### Claim 20 (depends on 15)

The system of claim 15, wherein a discriminant value is further used to select the first member node as the vice-leader node.

### Claim 21 (depends on 20)

The system of claim 20, wherein the discriminant value comprises at least one of a CPU value, a memory value, or a network value.
