1. 20 May, 2020 1 commit
  2. 04 May, 2020 1 commit
    • Oran Agra's avatar
      add daily github actions with libc malloc and valgrind · deee2c1e
      Oran Agra authored
      * fix memlry leaks with diskless replica short read.
      * fix a few timing issues with valgrind runs
      * fix issue with valgrind and watchdog schedule signal
      
      about the valgrind WD issue:
      the stack trace test in logging.tcl, has issues with valgrind:
      ==28808== Can't extend stack to 0x1ffeffdb38 during signal delivery for thread 1:
      ==28808==   too small or bad protection modes
      
      it seems to be some valgrind bug with SA_ONSTACK.
      SA_ONSTACK seems unneeded since WD is not recursive (SA_NODEFER was removed),
      also, not sure if it's even valid without a call to sigaltstack()
      deee2c1e
  3. 21 Apr, 2020 1 commit
  4. 09 Apr, 2020 1 commit
  5. 31 Mar, 2020 1 commit
  6. 07 Mar, 2020 1 commit
  7. 18 Feb, 2020 1 commit
  8. 06 Feb, 2020 1 commit
  9. 30 Jan, 2020 1 commit
  10. 16 Jan, 2020 2 commits
  11. 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
  12. 07 Oct, 2019 2 commits
  13. 18 Sep, 2019 1 commit
  14. 31 Aug, 2019 1 commit
  15. 24 Jul, 2019 1 commit
  16. 03 Jul, 2019 1 commit
  17. 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
  18. 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
  19. 09 Jan, 2019 7 commits
  20. 11 Dec, 2018 1 commit
  21. 07 Dec, 2018 2 commits
  22. 30 Nov, 2018 1 commit
  23. 25 Nov, 2018 2 commits
  24. 08 Nov, 2018 1 commit
  25. 09 Oct, 2018 1 commit
  26. 30 Jul, 2018 1 commit
  27. 02 Jul, 2018 1 commit
  28. 28 Jun, 2018 1 commit
  29. 18 Jun, 2018 1 commit
  30. 09 Jun, 2018 1 commit