- 18 Nov, 2015 8 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
The node tells the leader what's current_idx is using the appendentries response.
-
- 16 Nov, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
- 15 Nov, 2015 6 commits
-
-
Willem Thiart authored
When the network is slow and lossy, then there's a risk that we might receive the requestvote response much later. So late that the term of the server who sent the requestvote message doesn't match the addressee's term. We now ignore these old responses to ensure the election safety invariant.
-
Willem Thiart authored
-
Willem Thiart authored
A leader should not receive appendentries from another leader of the same term. This is because of Raft's election safety invariant.
-
Willem Thiart authored
-
Willem Thiart authored
To speed up deciding on the correct next_idx, the leader will now use the current_idx provided by the peer node in deciding the next_idx. Also, the next_idx is set to the leader's current_idx.
-
Willem Thiart authored
-
- 13 Nov, 2015 1 commit
-
-
Willem Thiart authored
Thanks to @ar104 for helping me with the fix!
-
- 10 Nov, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
- 09 Nov, 2015 1 commit
-
-
Willem Thiart authored
Change random timeout to be influenced by election_timeout Thanks to @ar104 for help with this fix!
-
- 06 Nov, 2015 4 commits
-
-
Willem Thiart authored
Thanks to @ar104 for help with this fix!
-
Willem Thiart authored
-
Willem Thiart authored
Thanks to @ar104 for the fix!
-
Willem Thiart authored
-
- 04 Nov, 2015 3 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
Thanks to @ar104 for the fix!
-
- 15 Oct, 2015 1 commit
-
-
Willem Thiart authored
-
- 01 Oct, 2015 1 commit
-
-
Willem Thiart authored
-
- 28 Sep, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
Reproduction: Three node configuration without randomized election timeouts. 1. Node 1 and Node 2 both start elections. 2. Node 2 gets a vote from node 3 and transitions to leader (majority votes 2/3 including itself) 3. Node 2 then gets a requestvote from node 1 This causes the raft_is_leader(me_) to be true and the assertion to fire. Thanks to @ar104 for the fix!
-
- 31 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 22 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 21 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 17 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 16 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 15 Aug, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
- 14 Aug, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-