1. 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
  2. 18 Dec, 2018 1 commit
  3. 13 Dec, 2018 1 commit
  4. 11 Dec, 2018 1 commit
  5. 09 Dec, 2018 1 commit
  6. 06 Dec, 2018 1 commit
  7. 18 Nov, 2018 1 commit
  8. 16 Oct, 2018 1 commit
    • Yossi Gottlieb's avatar
      Fix a memory leak with log_clear. · 89d793a0
      Yossi Gottlieb authored
      This is probably most common when loading a snapshot.  Currently it is
      only possibly to free allocated entry memory on log_pop and log_poll,
      but neither are called on log_reset().
      
      This is a quick and non-breaking fix.  A better but not backward
      compatible option can be to have a free function callback as part of
      the entry itself (automatically called when needed, not by log_pop or
      log_poll).  This would also make it easier to avoid redundant buffer
      allocs/copies on the app side.
      89d793a0
  9. 08 Oct, 2018 2 commits
  10. 06 Oct, 2018 3 commits
  11. 04 Oct, 2018 2 commits
  12. 27 Sep, 2018 4 commits
  13. 02 Sep, 2018 1 commit
  14. 17 Aug, 2018 1 commit
  15. 16 Aug, 2018 1 commit
  16. 15 Aug, 2018 5 commits
  17. 14 Aug, 2018 5 commits
  18. 07 Aug, 2018 3 commits
  19. 30 Jul, 2018 3 commits
    • Yossi Gottlieb's avatar
      Add raft_cancel_snapshot(). · 074091c1
      Yossi Gottlieb authored
      This cancels the snapshot operation and reverts back to the state we
      were in before raft_begin_snapshot().
      
      It is useful for cases where the snapshot operation fails.  It is the
      caller's responsibility to make sure the FSM state remains intact of
      course.
      074091c1
    • Yossi Gottlieb's avatar
      Add raft_cancel_snapshot(). · 3badd2a0
      Yossi Gottlieb authored
      This cancels the snapshot operation and reverts back to the state we
      were in before raft_begin_snapshot().
      
      It is useful for cases where the snapshot operation fails.  It is the
      caller's responsibility to make sure the FSM state remains intact of
      course.
      3badd2a0
    • Yossi Gottlieb's avatar
      Make clean did not remove object files. · 546df393
      Yossi Gottlieb authored
      546df393
  20. 22 Jul, 2018 2 commits