- 07 Aug, 2018 1 commit
-
-
Yossi Gottlieb authored
If specified when calling raft_begin_snapshot(), the library will not postpone applying entries during snapshots. This requires the FSM to provide full isolation between the snapshot and active state.
-
- 20 Jun, 2018 1 commit
-
-
Yossi Gottlieb authored
-
- 08 Jan, 2018 1 commit
-
-
Willem Thiart authored
-
- 21 Nov, 2017 3 commits
-
-
Li Wei authored
User storage callbacks may return negative errors smaller than RAFT_ERR_LAST. These will be returned all the way to the API methods, which report the errors back to users, so that appropriate handlings may be performed. Signed-off-by:
Li Wei <wei.g.li@intel.com>
-
Li Wei authored
If raft_become_candidate() assigns a negative value e (i.e., -election_timeout < e < 0) to timeout_elapsed, and if this replica successfully becomes the leader, then this leader won't send heartbeats for request_timeout - e milliseconds. This may be longer than election_timeout and cause an unnecessary leadership change. This patch zeroes timeout_elapsed in raft_become_leader(), randomizes election timeouts in [election_timeout, 2 * election_timeout), and fixes raft_recv_appendentries() to avoid zeroing timeout_elapsed if the AE request has an older term. Signed-off-by:
Li Wei <wei.g.li@intel.com>
-
Li Wei authored
Remind users' persist_term implementations to persist currentTerm and nil votedFor atomically. Signed-off-by:
Li Wei <wei.g.li@intel.com>
-
- 09 May, 2017 1 commit
-
-
Willem Thiart authored
Beforehand there were if statements to check if callbacks were provided by the user. This was only useful for making the test suites shorter. These if statements have been removed so that the core code is more concise.
-
- 11 Jun, 2016 1 commit
-
-
Willem Thiart authored
-
- 13 May, 2016 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
This fix prevents deadlocks (ie. when we are trying to get votes from non-voting nodes that never vote).
-
- 16 Mar, 2016 1 commit
-
-
Willem Thiart authored
-
- 25 Jan, 2016 1 commit
-
-
Willem Thiart authored
-
- 20 Dec, 2015 1 commit
-
-
Willem Thiart authored
-
- 19 Dec, 2015 3 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
Willem Thiart authored
-
- 18 Nov, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
- 13 Nov, 2015 1 commit
-
-
Willem Thiart authored
Thanks to @ar104 for helping me with the fix!
-
- 26 Sep, 2015 1 commit
-
-
Willem Thiart authored
-
- 22 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 14 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 07 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 29 Jul, 2015 1 commit
-
-
Matt Amos authored
-
- 01 May, 2015 1 commit
-
-
Alex Fabijanic authored
-
- 02 Feb, 2015 1 commit
-
-
Willem Thiart authored
-
- 28 May, 2014 1 commit
-
-
Willem Thiart authored
-
- 16 Jan, 2014 1 commit
-
-
willem authored
-