1. 27 Oct, 2020 3 commits
    • Oran Agra's avatar
      RESTORE ABSTTL won't store expired keys into the db (#7472) · e9c9e4c2
      Oran Agra authored
      Similarly to EXPIREAT with TTL in the past, which implicitly deletes the
      key and return success, RESTORE should not store key that are already
      expired into the db.
      When used together with REPLACE it should emit a DEL to keyspace
      notification and replication stream.
      
      (cherry picked from commit 5977a948)
      (cherry picked from commit 95ba01b5)
      e9c9e4c2
    • Liu Zhen's avatar
      fix clusters mixing accidentally by gossip · ee4696b1
      Liu Zhen authored
      `clusterStartHandshake` will start hand handshake
      and eventually send CLUSTER MEET message, which is strictly prohibited
      in the REDIS CLUSTER SPEC.
      Only system administrator can initiate CLUSTER MEET message.
      Futher, according to the SPEC, rather than IP/PORT pairs, only nodeid
      can be trusted.
      
      (cherry picked from commit 84a7a905)
      ee4696b1
    • Guy Benoish's avatar
      XPENDING should not update consumer's seen-time · c9e370c6
      Guy Benoish authored
      Same goes for XGROUP DELCONSUMER (But in this case, it doesn't
      have any visible effect)
      
      (cherry picked from commit 3a441c7d)
      c9e370c6
  2. 24 Apr, 2020 1 commit
  3. 23 Apr, 2020 2 commits
    • yanhui13's avatar
      optimize the output of cluster slots · 7a62eb96
      yanhui13 authored
      7a62eb96
    • srzhao's avatar
      Check OOM at script start to get stable lua OOM state. · 0efb93d0
      srzhao authored
      Checking OOM by `getMaxMemoryState` inside script might get different result
      with `freeMemoryIfNeededAndSafe` at script start, because lua stack and
      arguments also consume memory.
      
      This leads to memory `borderline` when memory grows near server.maxmemory:
      
      - `freeMemoryIfNeededAndSafe` at script start detects no OOM, no memory freed
      - `getMaxMemoryState` inside script detects OOM, script aborted
      
      We solve this 'borderline' issue by saving OOM state at script start to get
      stable lua OOM state.
      
      related to issue #6565 and #5250.
      0efb93d0
  4. 17 Apr, 2020 2 commits
  5. 08 Apr, 2020 1 commit
  6. 12 Mar, 2020 1 commit
  7. 11 Mar, 2020 1 commit
  8. 05 Mar, 2020 18 commits
  9. 12 Feb, 2020 1 commit
  10. 08 Jan, 2020 1 commit
  11. 19 Nov, 2019 9 commits