1. 02 Jun, 2021 1 commit
  2. 01 Jun, 2021 4 commits
  3. 30 May, 2021 3 commits
    • Binbin's avatar
      Extend freeSlotsToKeysMapAsync and freeTrackingRadixTreeAsync to check LAZYFREE_THRESHOLD. (#8969) · 01495c67
      Binbin authored
      Without this fix, FLUSHALL ASYNC would have freed these in a background thread,
      even if they didn't contain many elements (unlike how it works with other structures), which could be inefficient.
      01495c67
    • Wang Yuan's avatar
      Make full use of aofrwblock's buf (#8975) · 58a03eca
      Wang Yuan authored
      Make aof rewrite buffer memory size more accurate, before, there may be 20%
      deviation with its real memory usage.
      
      The implication are both lower memory usage, and also a more accurate INFO.
      58a03eca
    • ny0312's avatar
      Always replicate time-to-live(TTL) as absolute timestamps in milliseconds (#8474) · 53d1acd5
      ny0312 authored
      Till now, on replica full-sync we used to transfer absolute time for TTL,
      however when a command arrived (EXPIRE or EXPIREAT),
      we used to propagate it as is to replicas (possibly with relative time),
      but always translate it to EXPIREAT (absolute time) to AOF.
      
      This commit changes that and will always use absolute time for propagation.
      see discussion in #8433
      
      Furthermore, we Introduce new commands: `EXPIRETIME/PEXPIRETIME`
      that allow extracting the absolute TTL time from a key.
      53d1acd5
  4. 26 May, 2021 1 commit
    • YaacovHazan's avatar
      unregister AE_READABLE from the read pipe in backgroundSaveDoneHandlerSocket (#8991) · 501d7755
      YaacovHazan authored
      In diskless replication, we create a read pipe for the RDB, between the child and the parent.
      When we close this pipe (fd), the read handler also needs to be removed from the event loop (if it still registered).
      Otherwise, next time we will use the same fd, the registration will be fail (panic), because
      we will use EPOLL_CTL_MOD (the fd still register in the event loop), on fd that already removed from epoll_ctl
      501d7755
  5. 24 May, 2021 1 commit
  6. 23 May, 2021 1 commit
  7. 22 May, 2021 1 commit
  8. 20 May, 2021 2 commits
  9. 19 May, 2021 4 commits
  10. 18 May, 2021 6 commits
  11. 17 May, 2021 3 commits
  12. 15 May, 2021 1 commit
  13. 13 May, 2021 1 commit
  14. 11 May, 2021 1 commit
  15. 10 May, 2021 3 commits
  16. 09 May, 2021 3 commits
  17. 07 May, 2021 1 commit
  18. 06 May, 2021 3 commits
    • Huang Zhw's avatar
      redis-cli when SELECT fails, we should reset dbnum to 0 (#8898) · 6b475989
      Huang Zhw authored
      
      
      when SELECT fails, we should reset dbnum to 0, so the prompt will not
      display incorrectly.
      
      Additionally when SELECT and HELLO fail, we output message to inform
      it.
      
      Add config.input_dbnum which means the dbnum about to select.
      And config.dbnum means currently selected dbnum. When users succeed to
      select db, config.dbnum and config.input_dbnum will be the same. When
      users select db failed, config.input_dbnum will be kept. Next time if users
      auth success, config.input_dbnum will be automatically selected.
      When reconnect, we should select the origin dbnum.
      Co-authored-by: default avatarOran Agra <oran@redislabs.com>
      6b475989
    • Oran Agra's avatar
      fix redis-benchmark to ignore unsupported configs (#8916) · 4d1094e8
      Oran Agra authored
      Redis Enterprise supports the CONFIG GET command, but it replies with am
      empty array since the save and appendonly configs are not supported.
      before this fix redis-benchmark would segfault for trying to access the
      error string on an array type reply.
      see #8869
      4d1094e8
    • Wang Yuan's avatar
      Fix wrong COW memory in log (#8917) · 81e2d727
      Wang Yuan authored
      Always 0 MB of memory used by copy-on-write, introduced in #8645.
      81e2d727