1. 22 Aug, 2022 1 commit
    • Ozan Tezcan's avatar
      Improve snapshot support (#121) · 7d66a156
      Ozan Tezcan authored
      - raft_load_snapshot_f(): Changed order of arguments term and index
      to be inline with raft_begin_load_snapshot().
      
      - Refactored raft_begin_load_snapshot(). Now, inside this function, 
      current server's node flags are cleared. Previously, application had to
      take care of it. e.g Application had to clear inactive flag on a snapshot.
      
      - Added raft_restore_snapshot() to let libraft know that application has
      loaded a snapshot.
      7d66a156
  2. 18 Aug, 2022 1 commit
  3. 16 Aug, 2022 3 commits
  4. 08 Aug, 2022 1 commit
  5. 21 Jul, 2022 2 commits
  6. 07 Jul, 2022 2 commits
  7. 05 Jul, 2022 1 commit
    • Ozan Tezcan's avatar
      Do not execute operations in periodic when auto_flush is off (#109) · 03e2f294
      Ozan Tezcan authored
      Do not execute operations in periodic when auto_flush is off 
      
      Introduced auto_flush config in #81. If auto_flush is off, application is supposed to call raft_flush() manually. This function increments commit index, applies entries and sends appendentries requests.
      
      Currently, we execute operations in raft_periodic() and raft_flush() both. When auto_flush is off, it makes sense to leave execution to raft_flush() to do it in a single place.
      03e2f294
  8. 30 Jun, 2022 1 commit
  9. 19 Jun, 2022 1 commit
  10. 19 May, 2022 1 commit
  11. 15 May, 2022 1 commit
  12. 02 May, 2022 1 commit
  13. 26 Apr, 2022 1 commit
  14. 25 Apr, 2022 1 commit
  15. 18 Apr, 2022 1 commit
  16. 06 Apr, 2022 1 commit
  17. 04 Apr, 2022 1 commit
  18. 03 Apr, 2022 1 commit
  19. 30 Mar, 2022 2 commits
  20. 24 Mar, 2022 1 commit
  21. 21 Mar, 2022 1 commit
  22. 13 Mar, 2022 5 commits
  23. 08 Mar, 2022 1 commit
  24. 06 Mar, 2022 1 commit
  25. 15 Feb, 2022 1 commit
  26. 07 Feb, 2022 1 commit
  27. 07 Dec, 2021 1 commit
  28. 17 Nov, 2021 1 commit
  29. 16 Nov, 2021 1 commit
    • Yossi Gottlieb's avatar
      Properly get coverage from all tests. (#70) · ada3d6a0
      Yossi Gottlieb authored
      * Add COVERAGE=1 Makefile option to build libraft with coverage.
      * Refactor CFFI module to use the existing shared object in an
        out-of-line configuration, so there's no need to build and re-build
        it.
      * Makefile adjustments to build the module CFFI as needed.
      * Remove raft_get_snapshot_entry_idx, a prototype for an undefined
        function that breaks CFFI.
      * Add a gcov Makefile target to fetch both unit tests and integration
        test coverage in one shot.
      ada3d6a0
  30. 15 Nov, 2021 1 commit
  31. 14 Nov, 2021 1 commit