- 30 Jul, 2021 1 commit
-
-
Shaya Potter authored
this commit changes libraft's from using the DEMOTE_NODE log entry which would then initiate a REMOVE_NODE log entry on the DEMOTE's commit, to only using a REMOVE. * add the removal of the active node flag on append of REMOVE and (add back if reverted) * modify is_voting to check for active state as well this enables simplifying appending and reverting nodes, as we shouldn't be touching voting state, (as a removing node might not be voting yet), only its active state. and as the is_voting check also now checks for active state, simplifies a lot of code that manually tested both. * add a test for reversion of a non voting node removal previously, the code could not handle demoting/removing a non voting node, as demote would want to unset the voting flag (which a non voting node obviously doesn't have), and would therefore fail an assertion. with the new code, we no longer unset the voting flag in removal, and this test make sure both the is_voting and is_active return as expected through a process of add/removal/revert
-
- 19 Dec, 2018 1 commit
-
-
Yossi Gottlieb authored
This makes it possible to request a consistent read without having to commit it as a log operation. For every read request an AE heartbeat is delivered and a quorum response is expected.
-
- 20 Jun, 2018 1 commit
-
-
Yossi Gottlieb authored
-
- 24 May, 2018 1 commit
-
-
Yossi Gottlieb authored
-
- 16 May, 2018 1 commit
-
-
Yossi Gottlieb authored
-
- 04 Mar, 2018 1 commit
-
-
Yossi Gottlieb authored
-
- 08 Jan, 2018 1 commit
-
-
Willem Thiart authored
-
- 21 Nov, 2017 1 commit
-
-
Li Wei authored
Check and handle memory allocation errors by reporting them back to users via NULL or RAFT_ERR_NOMEM return values. Signed-off-by:
Li Wei <wei.g.li@intel.com>
-
- 28 Aug, 2016 1 commit
-
-
Jordan Yelloz authored
This fixes the build in clang due to a bitwise inversion ambiguity.
-
- 11 Feb, 2016 1 commit
-
-
Willem Thiart authored
-
- 25 Jan, 2016 1 commit
-
-
Willem Thiart authored
-
- 20 Dec, 2015 2 commits
-
-
Willem Thiart authored
-
Willem Thiart authored
-
- 19 Dec, 2015 1 commit
-
-
Willem Thiart authored
-
- 18 Nov, 2015 1 commit
-
-
Willem Thiart authored
The node tells the leader what's current_idx is using the appendentries response.
-
- 30 Sep, 2015 1 commit
-
-
Amitabha Roy authored
-
- 15 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 10 Aug, 2015 1 commit
-
-
Willem Thiart authored
-
- 01 Aug, 2015 1 commit
-
-
Willem Thiart 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
-
- 13 Jan, 2014 2 commits
- 22 Dec, 2013 1 commit
-
-
willem authored
-