1. 24 Jul, 2017 8 commits
  2. 11 Jul, 2017 1 commit
  3. 30 Jun, 2017 2 commits
    • antirez's avatar
      Fix abort typo in Lua debugger help screen. · 7018d27d
      antirez authored
      7018d27d
    • antirez's avatar
      Added GEORADIUS(BYMEMBER)_RO variants for read-only operations. · d557144e
      antirez authored
      Issue #4084 shows how for a design error, GEORADIUS is a write command
      because of the STORE option. Because of this it does not work
      on readonly slaves, gets redirected to masters in Redis Cluster even
      when the connection is in READONLY mode and so forth.
      
      To break backward compatibility at this stage, with Redis 4.0 to be in
      advanced RC state, is problematic for the user base. The API can be
      fixed into the unstable branch soon if we'll decide to do so in order to
      be more consistent, and reease Redis 5.0 with this incompatibility in
      the future. This is still unclear.
      
      However, the ability to scale GEO queries in slaves easily is too
      important so this commit adds two read-only variants to the GEORADIUS
      and GEORADIUSBYMEMBER command: GEORADIUS_RO and GEORADIUSBYMEMBER_RO.
      The commands are exactly as the original commands, but they do not
      accept the STORE and STOREDIST options.
      d557144e
  4. 27 Jun, 2017 6 commits
  5. 22 Jun, 2017 4 commits
  6. 20 Jun, 2017 4 commits
  7. 14 Jun, 2017 1 commit
  8. 17 May, 2017 1 commit
  9. 15 May, 2017 1 commit
  10. 21 Apr, 2017 4 commits
  11. 20 Apr, 2017 1 commit
  12. 14 Apr, 2017 1 commit
  13. 08 Apr, 2017 1 commit
  14. 20 Feb, 2017 2 commits
  15. 12 Feb, 2017 2 commits
  16. 09 Feb, 2017 1 commit
    • antirez's avatar
      Fix MIGRATE closing of cached socket on error. · 33fad43c
      antirez authored
      After investigating issue #3796, it was discovered that MIGRATE
      could call migrateCloseSocket() after the original MIGRATE c->argv
      was already rewritten as a DEL operation. As a result the host/port
      passed to migrateCloseSocket() could be anything, often a NULL pointer
      that gets deferenced crashing the server.
      
      Now the socket is closed at an earlier time when there is a socket
      error in a later stage where no retry will be performed, before we
      rewrite the argument vector. Moreover a check was added so that later,
      in the socket_err label, there is no further attempt at closing the
      socket if the argument was rewritten.
      
      This fix should resolve the bug reported in #3796.
      33fad43c