1. 30 Jul, 2021 1 commit
    • Shaya Potter's avatar
      remove REMOVE_NODE log type and include its semantics in DEMOTE (#25) · d4d15e04
      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
      d4d15e04
  2. 19 Dec, 2018 1 commit
    • Yossi Gottlieb's avatar
      Read request handling support. · 84362fa7
      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.
      84362fa7
  3. 20 Jun, 2018 1 commit
  4. 24 May, 2018 1 commit
  5. 16 May, 2018 1 commit
  6. 04 Mar, 2018 1 commit
  7. 08 Jan, 2018 1 commit
  8. 21 Nov, 2017 1 commit
  9. 28 Aug, 2016 1 commit
  10. 11 Feb, 2016 1 commit
  11. 25 Jan, 2016 1 commit
  12. 20 Dec, 2015 2 commits
  13. 19 Dec, 2015 1 commit
  14. 18 Nov, 2015 1 commit
  15. 30 Sep, 2015 1 commit
  16. 15 Aug, 2015 1 commit
  17. 10 Aug, 2015 1 commit
  18. 01 Aug, 2015 1 commit
  19. 01 May, 2015 1 commit
  20. 02 Feb, 2015 1 commit
  21. 28 May, 2014 1 commit
  22. 13 Jan, 2014 2 commits
  23. 22 Dec, 2013 1 commit