1. 19 Oct, 2021 3 commits
    • qetu3790's avatar
      Release clients blocked on module commands in cluster resharding and down state (#9483) · 4962c552
      qetu3790 authored
      
      
      Prevent clients from being blocked forever in cluster when they block with their own module command
      and the hash slot is migrated to another master at the same time.
      These will get a redirection message when unblocked.
      Also, release clients blocked on module commands when cluster is down (same as other blocked clients)
      
      This commit adds basic tests for the main (non-cluster) redis test infra that test the cluster.
      This was done because the cluster test infra can't handle some common test features,
      but most importantly we only build the test modules with the non-cluster test suite.
      
      note that rather than really supporting cluster operations by the test infra, it was added (as dup code)
      in two files, one for module tests and one for non-modules tests, maybe in the future we'll refactor that.
      Co-authored-by: default avatarOran Agra <oran@redislabs.com>
      4962c552
    • Bjorn Svensson's avatar
      Move config `unixsocketperm` to generic configs (#9607) · c9fabc2e
      Bjorn Svensson authored
      Since the size of mode_t is platform dependant we handle the
      `unixsocketperm` configuration as a generic int type.
      mode_t is either an unsigned int or unsigned short (macOS) and
      the range-limits allows for a simple cast to a mode_t.
      c9fabc2e
    • Wen Hui's avatar
      Make Cluster-bus port configurable with new cluster-port config (#9389) · 1c2b5f53
      Wen Hui authored
      Make Cluster-bus port configurable with new cluster-port config
      1c2b5f53
  2. 18 Oct, 2021 5 commits
    • Viktor Söderqvist's avatar
      Add RedisModule_KeyExists (#9600) · b7f2a1a2
      Viktor Söderqvist authored
      The LRU of the key is not touched. Locically expired keys are
      logically not existing, so they're treated as such.
      b7f2a1a2
    • DarrenJiang13's avatar
      add missed error counting (#9646) · aa6deff0
      DarrenJiang13 authored
      * add: add missed error counting in sentinel.c and cluster.c
      aa6deff0
    • yoav-steinberg's avatar
      Skip Active-defrag edge case test until we fix it. (#9645) · 81095b1b
      yoav-steinberg authored
      Test started failing consistently in 32bit builds after upgrading to jemalloc 5.2.1 (#9623).
      81095b1b
    • Oran Agra's avatar
      Merge pull request #9623 from yoav-steinberg/upgrade_jemalloc_5.2.1 · c4b4b6c0
      Oran Agra authored
      Upgraded to jemalloc 5.2.1 from 5.1.0.
      Cherry picked all relevant fixes (by diffing our 5.1.0 to upstream 5.10 and finding relevant commits).
      Details of what was done:
      
      [cherry-picked] fd7d51c3 2021-05-03 Resolve nonsense static analysis warnings (Oran Agra)
      [cherry-picked] 448c435b 2020-09-29 Fix compilation warnings in Lua and jemalloc dependencies (#7785) (YoongHM)
      [skipped - already in upstream] 9216b96b 2020-09-21 Fix compilation warning in jemalloc's malloc_vsnprintf (#7789) (YoongHM)
      [cherry-picked] 88d71f47 2020-05-20 fix a rare active defrag edge case bug leading to stagnation (Oran Agra)
      [skipped - already in upstream] 2fec7d9c 2019-05-30 Jemalloc: Avoid blocking on background thread lock for stats.
      [cherry-picked] 920158ec 2018-07-11 Active defrag fixes for 32bit builds (again) (Oran Agra)
      [cherry-picked] e8099cab 2018-06-26 add defrag hint support into jemalloc 5 (Oran Agra)
      [re-done] 4e729fcd 2018-05-24 Generate configure for Jemalloc. (antirez)
      
      Additionally had to do this:
      7727cc2 2021-10-10 Fix defrag to support sharded bins in arena (added in v5.2.1) (Yoav Steinberg)
      
      When reviewing please look at all except the first commit which is just replacing 5.1.0 with 5.2.1 sources.
      Also I think we should merge this without squashing to preserve the changes we did to to jemalloc.
      c4b4b6c0
    • Oran Agra's avatar
      Attempt to fix a valgrind test failure due to timing (#9643) · 276b460e
      Oran Agra authored
      in the past few days i've seen two failures in the valgrind daily test.
      
      *** [err]: slave fails full sync and diskless load swapdb recovers it in tests/integration/replication.tcl
      Replica didn't get into loading mode
      
      can't reproduce it, but i'm hoping it's just too slow (to start loading within 5 seconds)
      276b460e
  3. 17 Oct, 2021 4 commits
  4. 16 Oct, 2021 1 commit
  5. 15 Oct, 2021 1 commit
  6. 14 Oct, 2021 1 commit
  7. 13 Oct, 2021 2 commits
  8. 12 Oct, 2021 6 commits
  9. 11 Oct, 2021 2 commits
  10. 10 Oct, 2021 8 commits
  11. 08 Oct, 2021 2 commits
  12. 07 Oct, 2021 3 commits
  13. 06 Oct, 2021 2 commits