1. 18 Feb, 2020 1 commit
  2. 06 Feb, 2020 1 commit
  3. 29 Oct, 2019 1 commit
    • Oran Agra's avatar
      Modules hooks: complete missing hooks for the initial set of hooks · 51c3ff8d
      Oran Agra authored
      * replication hooks: role change, master link status, replica online/offline
      * persistence hooks: saving, loading, loading progress
      * misc hooks: cron loop, shutdown, module loaded/unloaded
      * change the way hooks test work, and add tests for all of the above
      
      startLoading() now gets flag indicating what is loaded.
      stopLoading() now gets an indication of success or failure.
      adding startSaving() and stopSaving() with similar args and role.
      51c3ff8d
  4. 07 Oct, 2019 2 commits
  5. 18 Sep, 2019 1 commit
  6. 31 Aug, 2019 1 commit
  7. 24 Jul, 2019 1 commit
  8. 03 Jul, 2019 1 commit
  9. 02 Jun, 2019 1 commit
    • Oran Agra's avatar
      make redis purge jemalloc after flush, and enable background purging thread · 09f99c2a
      Oran Agra authored
      jemalloc 5 doesn't immediately release memory back to the OS, instead there's a decaying
      mechanism, which doesn't work when there's no traffic (no allocations).
      this is most evident if there's no traffic after flushdb, the RSS will remain high.
      
      1) enable jemalloc background purging
      2) explicitly purge in flushdb
      09f99c2a
  10. 11 Feb, 2019 1 commit
    • Chris Lamb's avatar
      Don't assume the __x86_64__ pointer size to avoid warnings on x32. · d0089cf2
      Chris Lamb authored
      __x86_64__ is defined on the on the x32 architecture and the conditionals in
      debug.c therefore assume the size of (void*) etc:
      
        debug.c: In function 'getMcontextEip':
        debug.c:757:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             return (void*) uc->uc_mcontext.gregs[16]; /* Linux 64 */
                    ^
        debug.c: In function 'logRegisters':
        debug.c:920:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             logStackContent((void**)uc->uc_mcontext.gregs[15]);
      
      We can remedy this by checking for __ILP32__ first. See:
      
        https://wiki.debian.org/ArchitectureSpecificsMemo
      
      ... for more info.
      d0089cf2
  11. 09 Jan, 2019 7 commits
  12. 11 Dec, 2018 1 commit
  13. 07 Dec, 2018 2 commits
  14. 30 Nov, 2018 1 commit
  15. 25 Nov, 2018 2 commits
  16. 08 Nov, 2018 1 commit
  17. 09 Oct, 2018 1 commit
  18. 30 Jul, 2018 1 commit
  19. 02 Jul, 2018 1 commit
  20. 28 Jun, 2018 1 commit
  21. 18 Jun, 2018 1 commit
  22. 09 Jun, 2018 1 commit
  23. 08 Jun, 2018 1 commit
  24. 07 Jun, 2018 1 commit
  25. 02 Jun, 2018 1 commit
    • WuYunlong's avatar
      Fix DEBUG LOADAOF so that redis-server will not crash unexpectedly · 7d269d5e
      WuYunlong authored
      and will not be inconsistent after we call debug loadaof.
      Before this commit, there were 2 problems:
      
      1, When appendonly is set to no and there is not a appendonly file,
         redis-server will crash if we call DEBUG LOADAOF.
      2, When appendonly is set to no and there is a appendonly file,
         redis-server will hold different data after loading  appendonly
         file.
      7d269d5e
  26. 25 May, 2018 1 commit
  27. 29 Mar, 2018 1 commit
  28. 09 Jan, 2018 1 commit
  29. 06 Dec, 2017 1 commit
    • antirez's avatar
      Change indentation and other minor details of PR #4489. · 522760fa
      antirez authored
      The main change introduced by this commit is pretending that help
      arrays are more text than code, thus indenting them at level 0. This
      improves readability, and is an old practice when defining arrays of
      C strings describing text.
      
      Additionally a few useless return statements are removed, and the HELP
      subcommand capitalized when printed to the user.
      522760fa
  30. 04 Dec, 2017 2 commits