1. 05 2月, 2013 5 次提交
    • C
      Turn off TCP_NODELAY on the slave socket after SYNC. · c85647f3
      charsyam 提交于
      Further details from @antirez:
      
      It was reported by @StopForumSpam on Twitter that the Redis replication
      link was strangely using multiple TCP packets for multiple commands.
      This wastes a lot of bandwidth and is due to the TCP_NODELAY option we
      enable on the socket after accepting a new connection.
      
      However the master -> slave channel is a one-way channel since Redis
      replication is asynchronous, so there is no point in trying to reduce
      the latency, we should aim to reduce the bandwidth. For this reason this
      commit introduces the ability to disable the nagle algorithm on the
      socket after a successful SYNC.
      
      This feature is off by default because the delay can be up to 40
      milliseconds with normally configured Linux kernels.
      c85647f3
    • A
      Test: No clients timeout while testing. · fd7350b0
      antirez 提交于
      fd7350b0
    • S
      Merge pull request #906 from jbergstroem/tclsh-agnostic · bb7aa177
      Salvatore Sanfilippo 提交于
      Make redis test suite tcl version agnostic, v2
      bb7aa177
    • S
      Merge pull request #933 from RockLi/unstable · 58463e05
      Salvatore Sanfilippo 提交于
      retval doesn't initalized
      58463e05
    • R
      retval doesn't initalized · 8063155c
      Rock Li 提交于
      If each if conditions are all fail, variable retval will under uninitlized
      8063155c
  2. 04 2月, 2013 4 次提交
  3. 01 2月, 2013 1 次提交
  4. 31 1月, 2013 1 次提交
  5. 29 1月, 2013 2 次提交
  6. 28 1月, 2013 14 次提交
  7. 24 1月, 2013 3 次提交
  8. 23 1月, 2013 1 次提交
    • A
      Lua struct library updated to version 0.2. · 61853a9c
      antirez 提交于
      There was a bug in the previous version of this library that caused a
      crash under the circumstances described in issue #901.
      
      The newer version of the library appears to be fixed (I tested it
      manually with valgrind and everything seems fine now).
      
      For more information about this library please visit this web site:
      
          http://www.inf.puc-rio.br/~roberto/struct/
      61853a9c
  9. 22 1月, 2013 2 次提交
    • A
      redis-cli --bigkeys output is now simpler to understand. · 88015b89
      antirez 提交于
      88015b89
    • A
      UNSUBSCRIBE and PUNSUBSCRIBE: always provide a reply. · 2039f1a3
      antirez 提交于
      UNSUBSCRIBE and PUNSUBSCRIBE commands are designed to mass-unsubscribe
      the client respectively all the channels and patters if called without
      arguments.
      
      However when these functions are called without arguments, but there are
      no channels or patters we are subscribed to, the old behavior was to
      don't reply at all.
      
      This behavior is broken, as every command should always reply.
      Also it is possible that we are no longer subscribed to a channels but we
      are subscribed to patters or the other way around, and the client should
      be notified with the correct number of subscriptions.
      
      Also it is not pretty that sometimes we did not receive a reply at all
      in a redis-cli session from these commands, blocking redis-cli trying
      to read the reply.
      
      This fixes issue #714.
      2039f1a3
  10. 21 1月, 2013 5 次提交
  11. 19 1月, 2013 2 次提交
    • A
      Additionally two typos fixed thanks to @jodal · e50cdbe4
      antirez 提交于
      e50cdbe4
    • A
      Whitelist SIGUSR1 to avoid auto-triggering errors. · 79a0ef62
      antirez 提交于
      This commit fixes issue #875 that was caused by the following events:
      
      1) There is an active child doing BGSAVE.
      2) flushall is called (or any other condition that makes Redis killing
      the saving child process).
      3) An error is sensed by Redis as the child exited with an error (killed
      by a singal), that stops accepting write commands until a BGSAVE happens
      to be executed with success.
      
      Whitelisting SIGUSR1 and making sure Redis always uses this signal in
      order to kill its own children fixes the issue.
      79a0ef62