1. 07 Oct, 2019 1 commit
    • Oran Agra's avatar
      fix issues found by a static analyzer · d1a005ab
      Oran Agra authored
      cluster.c - stack buffer memory alignment
          The pointer 'buf' is cast to a more strictly aligned pointer type
      evict.c - lazyfree_lazy_eviction, lazyfree_lazy_eviction always called
      defrag.c - bug in dead code
      server.c - casting was missing parenthesis
      rax.c - indentation / newline suggested an 'else if' was intended
      d1a005ab
  2. 02 Oct, 2019 1 commit
  3. 30 Sep, 2019 2 commits
  4. 27 Sep, 2019 3 commits
  5. 26 Sep, 2019 1 commit
  6. 25 Sep, 2019 2 commits
  7. 23 Sep, 2019 1 commit
    • Mike A. Owens's avatar
      Seed SipHash with 128-bit key · 0a4d2bbd
      Mike A. Owens authored
      SipHash expects a 128-bit key, and we were indeed generating 128-bits,
      but restricting them to hex characters 0-9a-f, effectively giving us
      only 4 bits-per-byte of key material, and 64 bits overall.
      
      Now, we skip the hex conversion and supply 128 bits of unfiltered
      random data.
      0a4d2bbd
  8. 22 Sep, 2019 1 commit
  9. 18 Sep, 2019 1 commit
  10. 02 Sep, 2019 1 commit
  11. 25 Aug, 2019 1 commit
  12. 31 Jul, 2019 1 commit
  13. 24 Jul, 2019 2 commits
  14. 23 Jul, 2019 3 commits
  15. 22 Jul, 2019 1 commit
  16. 17 Jul, 2019 1 commit
    • Oran Agra's avatar
      Module API for Forking · 56258c6b
      Oran Agra authored
      * create module API for forking child processes.
      * refactor duplicate code around creating and tracking forks by AOF and RDB.
      * child processes listen to SIGUSR1 and dies exitFromChild in order to
        eliminate a valgrind warning of unhandled signal.
      * note that BGSAVE error reply has changed.
      
      valgrind error is:
        Process terminating with default action of signal 10 (SIGUSR1)
      56258c6b
  17. 10 Jul, 2019 1 commit
  18. 08 Jul, 2019 1 commit
    • Oran Agra's avatar
      diskless replication on slave side (don't store rdb to file), plus some other related fixes · 2de544cf
      Oran Agra authored
      The implementation of the diskless replication was currently diskless only on the master side.
      The slave side was still storing the received rdb file to the disk before loading it back in and parsing it.
      
      This commit adds two modes to load rdb directly from socket:
      1) when-empty
      2) using "swapdb"
      the third mode of using diskless slave by flushdb is risky and currently not included.
      
      other changes:
      --------------
      distinguish between aof configuration and state so that we can re-enable aof only when sync eventually
      succeeds (and not when exiting from readSyncBulkPayload after a failed attempt)
      also a CONFIG GET and INFO during rdb loading would have lied
      
      When loading rdb from the network, don't kill the server on short read (that can be a network error)
      
      Fix rdb check when performed on preamble AOF
      
      tests:
      run replication tests for diskless slave too
      make replication test a bit more aggressive
      Add test for diskless load swapdb
      2de544cf
  19. 03 Jul, 2019 1 commit
  20. 07 Jun, 2019 1 commit
  21. 06 May, 2019 9 commits
  22. 16 Apr, 2019 1 commit
    • Itamar Haber's avatar
      Adds a "Modules" section to `INFO` · 52686f48
      Itamar Haber authored
      Fixes #6012.
      
      As long as "INFO is broken", this should be adequate IMO. Once we rework
      `INFO`, perhaps into RESP3, this implementation should be revisited.
      52686f48
  23. 20 Mar, 2019 1 commit
  24. 18 Mar, 2019 1 commit
  25. 03 Mar, 2019 1 commit