1. 21 Nov, 2017 2 commits
    • Li Wei's avatar
      DAOS-333 server: Persist term and vote atomically · 854a06d2
      Li Wei authored
      
      
      Remind users' persist_term implementations to persist currentTerm and
      nil votedFor atomically.
      Signed-off-by: default avatarLi Wei <wei.g.li@intel.com>
      854a06d2
    • Li Wei's avatar
      DAOS-279 log: Avoid changing caller input entry · 920d574a
      Li Wei authored
      
      
      log_append_entry() passes caller's raft_entry_t to log_offer. If the
      log_offer implementation sets the data buffer to different value,
      caller's raft_entry_t gets modified as a side effect. This is
      error-prone as callers are usually responsible for freeing the data
      buffer with such a log_offer implementation. This patch passes the
      raft_entry_t in the log to log_offer instead. Also, ety in
      raft_recv_entry() is no longer required.
      Signed-off-by: default avatarLi Wei <wei.g.li@intel.com>
      920d574a
  2. 20 Nov, 2017 1 commit
  3. 20 Jun, 2017 1 commit
    • Willem Thiart's avatar
      Fixes #37 · 3e011ae2
      Willem Thiart authored
      Avoid deleting logs because of out-of-order/quick heartbeats.
      3e011ae2
  4. 09 May, 2017 1 commit
    • Willem Thiart's avatar
      Change: code now assumes callbacks are provided · c3443aac
      Willem Thiart authored
      Beforehand there were if statements to check if callbacks were provided
      by the user. This was only useful for making the test suites shorter.
      These if statements have been removed so that the core code is more
      concise.
      c3443aac
  5. 20 Sep, 2016 1 commit
  6. 10 Sep, 2016 1 commit
  7. 11 Jun, 2016 2 commits
  8. 22 May, 2016 1 commit
  9. 18 May, 2016 1 commit
  10. 13 May, 2016 3 commits
  11. 11 Apr, 2016 2 commits
  12. 16 Mar, 2016 2 commits
  13. 03 Feb, 2016 1 commit
  14. 28 Jan, 2016 1 commit
  15. 25 Jan, 2016 5 commits
  16. 24 Jan, 2016 1 commit
  17. 20 Jan, 2016 2 commits
  18. 20 Dec, 2015 2 commits
  19. 19 Dec, 2015 1 commit
  20. 18 Nov, 2015 7 commits
  21. 16 Nov, 2015 2 commits