1. 27 Jul, 2021 1 commit
    • Shaya Potter's avatar
      match up raft_get_last_log_term() to should_grant_vote() (#14) · fab583d6
      Shaya Potter authored
      raft_get_last_log_term() is used for filling in vote requests, except it didn't match 100% with the logic in should_grant_vote
      
      * update test to prove that change works as needed
      
      previous test tested when we don't snapshot everything, but code was broken when we did.
      modified test tested only when we snapshot everything, now we do both in sequence.
      
      * use raft_get_last_log_term in __should_grant_vote()
      
      also modify __should_grant_vote to take a raft_server_t instead of raft_server_privat_t so its not constantly casting it to void.
      fab583d6
  2. 06 Dec, 2018 1 commit
  3. 14 Aug, 2018 1 commit
    • Willem Thiart's avatar
      Virtraft improvements · 9d2d4560
      Willem Thiart authored
      Less false positive deadlocks
      Logging to file
      Quiet mode
      Less strict partitions
      Include latest partitions in diagnostics
      9d2d4560
  4. 30 Jul, 2018 1 commit
  5. 22 Jul, 2018 1 commit
  6. 11 Jun, 2018 1 commit
  7. 23 May, 2018 1 commit
  8. 16 May, 2018 1 commit
  9. 06 May, 2018 1 commit
  10. 08 Jan, 2018 1 commit
  11. 29 Dec, 2017 1 commit
    • Willem Thiart's avatar
      Fix: log edge cases · b912ff5a
      Willem Thiart authored
      The raft_log API is now being fuzzed tested. This change fixes all of
      the bugs detected by the fuzzer so far.
      b912ff5a
  12. 21 Nov, 2017 1 commit
  13. 20 Nov, 2017 1 commit
  14. 05 Mar, 2016 1 commit
  15. 11 Feb, 2016 2 commits
  16. 25 Jul, 2015 1 commit
  17. 01 Feb, 2015 1 commit
  18. 25 Jun, 2014 1 commit
    • Matt Amos's avatar
      Changes to compile on Linux. · f2f8b9a5
      Matt Amos authored
      GNU make wanted `VPATH` set so that it could find the source
      files. GNU ld complained about missing `-fPIC` for the object
      files being linked into a shared library, so added that too.
      f2f8b9a5
  19. 28 May, 2014 1 commit
  20. 26 Feb, 2014 3 commits
  21. 14 Feb, 2014 3 commits
  22. 16 Jan, 2014 1 commit
  23. 14 Jan, 2014 1 commit
  24. 13 Jan, 2014 4 commits
  25. 23 Dec, 2013 1 commit
  26. 22 Dec, 2013 1 commit
  27. 08 Dec, 2013 3 commits
  28. 24 Oct, 2013 2 commits
  29. 23 Oct, 2013 1 commit