1. 30 Aug, 2021 1 commit
  2. 01 Aug, 2021 1 commit
  3. 28 Jul, 2021 1 commit
    • Shaya Potter's avatar
      Multiple Virtraft changes (#8) · 0d2189c8
      Shaya Potter authored
      
      
      * fix virtraft bug in _check_log_matching
      
      didn't validate against snapshoted node correctly.  the previous code just didn't do what it was expected to do
      
      * improve virtraft logging
      
      * fix entry_pop in virtraft
      
      previously, entry_pop never ran during our virtraft tests, probably because without removing leader, we never have a situation where this is neccessary
      
      i.e. the only case virtraft can pop entries, is when we have a leader lose leadership and we have an entry pending and not committed.  so when another node becomes leader, old leader's entries get popped.
      
      however, that has nothing to do with the "id" of the node that its effecting so trying to contorl it through that, makes no sense.
      
      * extra comment for fix reminder
      
      * ensure that we start with a term of 1 in virtraft, not 0.
      
      snapshot code fails if we have a snapshot term of 0 (explicitly returns an error if the term stored in snapshot is 0).
      Co-authored-by: default avatarYossi Gottlieb <yossigo@gmail.com>
      0d2189c8
  4. 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
  5. 06 Dec, 2018 1 commit
  6. 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
  7. 30 Jul, 2018 1 commit
  8. 22 Jul, 2018 1 commit
  9. 11 Jun, 2018 1 commit
  10. 23 May, 2018 1 commit
  11. 16 May, 2018 1 commit
  12. 06 May, 2018 1 commit
  13. 08 Jan, 2018 1 commit
  14. 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
  15. 21 Nov, 2017 1 commit
  16. 20 Nov, 2017 1 commit
  17. 05 Mar, 2016 1 commit
  18. 11 Feb, 2016 2 commits
  19. 25 Jul, 2015 1 commit
  20. 01 Feb, 2015 1 commit
  21. 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
  22. 28 May, 2014 1 commit
  23. 26 Feb, 2014 3 commits
  24. 14 Feb, 2014 3 commits
  25. 16 Jan, 2014 1 commit
  26. 14 Jan, 2014 1 commit
  27. 13 Jan, 2014 4 commits
  28. 23 Dec, 2013 1 commit
  29. 22 Dec, 2013 1 commit
  30. 08 Dec, 2013 3 commits