Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
raft-dev
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
raft-dev
Contact owners and managers
1–30 of 487
Discussion on the use and implementation of the Raft consensus algorithm.
https://raft.github.io
Mark all as read
Report group
0 selected
孙涛涛
, …
dr-dr xp
8
May 12
An Improvement Idea for Leader Election in the Raft Algorithm
Hi, we don't need to replace the vote request handling from ``` if req.term >= self.term ```
unread,
An Improvement Idea for Leader Election in the Raft Algorithm
Hi, we don't need to replace the vote request handling from ``` if req.term >= self.term ```
May 12
Jason Aten
May 1
advancing the commitIndex faster (minor) optimization
Some Raft newcomer questions: The Raft dissertation and talks mention that the commit index
unread,
advancing the commitIndex faster (minor) optimization
Some Raft newcomer questions: The Raft dissertation and talks mention that the commit index
May 1
Chi Li
, …
dr-dr xp
6
Apr 6
Is "one-phase commit" Joint Consensus still correct?
You are right. This algo can safely change the config. But it brings in other issues: when a node
unread,
Is "one-phase commit" Joint Consensus still correct?
You are right. This algo can safely change the config. But it brings in other issues: when a node
Apr 6
Sen
, …
dr-dr xp
4
Apr 6
Regarding persistence of commitIndex
Yes. Persisting the commit index offers clear benefits: upon startup, the server can immediately
unread,
Regarding persistence of commitIndex
Yes. Persisting the commit index offers clear benefits: upon startup, the server can immediately
Apr 6
mlj
, …
A. Jesse Jiryu Davis
4
Feb 19
When does a Leader realise that (all of) it's Followers are gone?
Fair points, Archie. I think the Raft paper and thesis don't mention the "stepdown if you
unread,
When does a Leader realise that (all of) it's Followers are gone?
Fair points, Archie. I think the Raft paper and thesis don't mention the "stepdown if you
Feb 19
Rajib Ghosal
, …
Ejem Agbaeze
5
Feb 8
Clarification on Differentiating Complete Node Failure vs. Network Partition in Raft
I think from Raft fault tolerance assumption, N = 2f + 1 nodes is required to tolerate upto f crash
unread,
Clarification on Differentiating Complete Node Failure vs. Network Partition in Raft
I think from Raft fault tolerance assumption, N = 2f + 1 nodes is required to tolerate upto f crash
Feb 8
A. Jesse Jiryu Davis
, …
Diego Ongaro
12
Jan 19
LogCabin benchmarks
Turns out I'm using SSDs already, not EBS. On Saturday, January 18, 2025 at 7:42:37 AM UTC-5 A.
unread,
LogCabin benchmarks
Turns out I'm using SSDs already, not EBS. On Saturday, January 18, 2025 at 7:42:37 AM UTC-5 A.
Jan 19
Tarun Pahuja
,
A. Jesse Jiryu Davis
4
12/26/24
Is lost Update possible with Raft ?
Something like this (see "In Search of an Understandable Consensus Algorithm" §8 for
unread,
Is lost Update possible with Raft ?
Something like this (see "In Search of an Understandable Consensus Algorithm" §8 for
12/26/24
Hao Peng
,
Diego Ongaro
3
12/4/24
Confusion about Raft Safety Argument
Hi Diego. Thanks for replying. So we can say that the leaders of T+1, T+2, ..., U-1 (if those terms
unread,
Confusion about Raft Safety Argument
Hi Diego. Thanks for replying. So we can say that the leaders of T+1, T+2, ..., U-1 (if those terms
12/4/24
AJ
11/20/24
Running RAFT cluster across different k8s clusters.
Hi, Has anyone tried to run the raft cluster formation across two or more k8s clusters? There are two
unread,
Running RAFT cluster across different k8s clusters.
Hi, Has anyone tried to run the raft cluster formation across two or more k8s clusters? There are two
11/20/24
AJ
11/17/24
Leadership lost while committing log
Hi, I have initialized a raft node and added 2 peers one-by-one. While the first peer is added, the
unread,
Leadership lost while committing log
Hi, I have initialized a raft node and added 2 peers one-by-one. While the first peer is added, the
11/17/24
AJ
,
Raistlin Majere
2
11/8/24
Scope of the bootstrap function - cluster level or node level?
You should have just one node at first and add the other two one by one later to the cluster. On
unread,
Scope of the bootstrap function - cluster level or node level?
You should have just one node at first and add the other two one by one later to the cluster. On
11/8/24
AJ
,
Philip O'Toole
6
11/4/24
Restoring node from a snapshot and bootstrap failure.
Don't call Bootstrap if there is pre-existing state. Just called NewRaft, and pass it the
unread,
Restoring node from a snapshot and bootstrap failure.
Don't call Bootstrap if there is pre-existing state. Just called NewRaft, and pass it the
11/4/24
AJ
,
Philip O'Toole
3
11/3/24
Finding out the leader of the cluster.
Thanks! On Tuesday, October 29, 2024 at 5:17:29 PM UTC-7 Philip O'Toole wrote: You just call
unread,
Finding out the leader of the cluster.
Thanks! On Tuesday, October 29, 2024 at 5:17:29 PM UTC-7 Philip O'Toole wrote: You just call
11/3/24
Philip O'Toole
, …
Diego Ongaro
22
10/15/24
Is this type of read really linearizable?
On Tue, Oct 15, 2024 at 5:10 PM Diego Ongaro <onga...@gmail.com> wrote: You've linked to
unread,
Is this type of read really linearizable?
On Tue, Oct 15, 2024 at 5:10 PM Diego Ongaro <onga...@gmail.com> wrote: You've linked to
10/15/24
李緒成
, …
Vilho Raatikka
10
10/5/24
Is it necessary to wait fo FSM applied in readindex read to be linearizable?
Reading committed values (even stale) may sometimes be ok but there may be an issue if the client who
unread,
Is it necessary to wait fo FSM applied in readindex read to be linearizable?
Reading committed values (even stale) may sometimes be ok but there may be an issue if the client who
10/5/24
milan...@axoniq.io
,
Andy Schwerin
3
10/1/24
Optimistic State Machine Execution
That makes sense. Pipelining is a significant benefit! Thanks, Andy! M. On Tuesday, October 1, 2024
unread,
Optimistic State Machine Execution
That makes sense. Pipelining is a significant benefit! Thanks, Andy! M. On Tuesday, October 1, 2024
10/1/24
bz1988
, …
Ejem Agbaeze
3
9/26/24
Does a Leader Retain Leadership After Restart in Raft Algorithm?
1. If the leader comes back online before the election timeout is exhausted on the followers then it
unread,
Does a Leader Retain Leadership After Restart in Raft Algorithm?
1. If the leader comes back online before the election timeout is exhausted on the followers then it
9/26/24
Roman Sakno
, …
milan...@axoniq.io
14
9/19/24
Raft: Theory and Reality
The state machine's idempotency is critical here since RAFT cannot guarantee exactly-once command
unread,
Raft: Theory and Reality
The state machine's idempotency is critical here since RAFT cannot guarantee exactly-once command
9/19/24
saurabh ratna
,
Diego Ongaro
2
9/11/24
Is there any Api’s expose to business logic in Raft(braft library) when a follower goes down(Unplanned)
Hi saurabh ratna, Since that sounds very specific to the braft implementation, you might want to ask
unread,
Is there any Api’s expose to business logic in Raft(braft library) when a follower goes down(Unplanned)
Hi saurabh ratna, Since that sounds very specific to the braft implementation, you might want to ask
9/11/24
z g
, …
jianyu niu
22
9/4/24
Raft in-memory without storage
For a crashed node, we can assign it a new UUID and use reconfiguration to remove the one with old
unread,
Raft in-memory without storage
For a crashed node, we can assign it a new UUID and use reconfiguration to remove the one with old
9/4/24
Halil yılmaz
,
Oren Eini (Ayende Rahien)
3
7/12/24
RAFT AND POW PROTOCOL ANALYSIS
Actually, I have only a purpose is performance analysis for raft and PoW consensus protocols. As a
unread,
RAFT AND POW PROTOCOL ANALYSIS
Actually, I have only a purpose is performance analysis for raft and PoW consensus protocols. As a
7/12/24
Archie Cobbs
, …
Daniel Shin
4
6/25/24
Re: [raft-dev] Question Regarding Log Consistencies
Yup my bad, thank you for the clarification! Will it be safe to assume that the persistent state
unread,
Re: [raft-dev] Question Regarding Log Consistencies
Yup my bad, thank you for the clarification! Will it be safe to assume that the persistent state
6/25/24
Nirvik Ghosh
, …
Archie Cobbs
7
6/21/24
leader fails fsync after entries are committed by majority followers
Sorry if what I said was ambiguous... The majority *may* include the leader, but doesn't have to,
unread,
leader fails fsync after entries are committed by majority followers
Sorry if what I said was ambiguous... The majority *may* include the leader, but doesn't have to,
6/21/24
H Wang
, …
Archie Cobbs
4
6/3/24
Lose data after ack to client?
On Mon, Jun 3, 2024 at 2:58 PM H Wang <howard.w...@gmail.com> wrote: a fresh new S1,
unread,
Lose data after ack to client?
On Mon, Jun 3, 2024 at 2:58 PM H Wang <howard.w...@gmail.com> wrote: a fresh new S1,
6/3/24
Diego Ongaro
,
Keine Neco
4
5/28/24
China downloading raft.mp4
I'm just sending a brief follow up here. Dong confirmed (off-list) that the mp4 is accessible
unread,
China downloading raft.mp4
I'm just sending a brief follow up here. Dong confirmed (off-list) that the mp4 is accessible
5/28/24
Drew Eckhardt
,
Chris Johnson
2
5/20/24
AppendLogEntries creating logs with different term but same index and command
Replicated logs should use the original term number. It is not safe to change them to the new term
unread,
AppendLogEntries creating logs with different term but same index and command
Replicated logs should use the original term number. It is not safe to change them to the new term
5/20/24
程栋彬
,
Diego Ongaro
4
5/7/24
Can configuration log be used after committed rather than as soon as it is added for the two-phase joint consensus?
Hi Dongbin, I'll begin with a disclaimer that I've forgotten many of Raft's details, so
unread,
Can configuration log be used after committed rather than as soon as it is added for the two-phase joint consensus?
Hi Dongbin, I'll begin with a disclaimer that I've forgotten many of Raft's details, so
5/7/24
AJ
, …
Philip O'Toole
3
4/30/24
TLS support in transport between RAFT nodes.
Wrap your TLS Listener (and Dialer) in this interface: https://pkg.go.dev/github.com/hashicorp/raft#
unread,
TLS support in transport between RAFT nodes.
Wrap your TLS Listener (and Dialer) in this interface: https://pkg.go.dev/github.com/hashicorp/raft#
4/30/24
AJ
, …
dr-dr xp
5
4/9/24
Adding a RAFT node to cluster with non-leader role
If a voter that has the most recent logs, ie, greatest `(last_term, last_log_index)`, and can not
unread,
Adding a RAFT node to cluster with non-leader role
If a voter that has the most recent logs, ie, greatest `(last_term, last_log_index)`, and can not
4/9/24