1. 05 7月, 2013 4 次提交
  2. 03 7月, 2013 2 次提交
    • A
      redis-cli: introduced --pipe-timeout. · 1135e9fa
      antirez 提交于
      When in --pipe mode, after all the data transfer to the server is
      complete, now redis-cli waits at max the specified amount of
      seconds (30 by default, use 0 to wait forever) without receiving any
      reply at all from the server. After this time limit the operation is
      aborted with an error.
      
      That's related to issue #681.
      1135e9fa
    • A
      redis-cli --pipe: send final ECHO in a safer way. · fbb97c6b
      antirez 提交于
      If the protocol read from stdin happened to contain grabage (invalid
      random chars), in the previous implementation it was possible to end
      with something like:
      
      dksfjdksjflskfjl*2\r\n$4\r\nECHO....
      
      That is invalid as the *2 should start into a new line. Now we prefix
      the ECHO with a CRLF that has no effects on the server but prevents this
      issues most of the times.
      
      Of course if the offending wrong sequence is something like:
      
      $3248772349\r\n
      
      No one is going to save us as Redis will wait for data in the context of
      a big argument, so this fix does not cover all the cases.
      
      This partially fixes issue #681.
      fbb97c6b
  3. 02 7月, 2013 5 次提交
  4. 28 6月, 2013 2 次提交
  5. 27 6月, 2013 1 次提交
  6. 26 6月, 2013 3 次提交
  7. 25 6月, 2013 9 次提交
  8. 24 6月, 2013 1 次提交
    • A
      Replication of scripts as EVALSHA: sha1 caching implemented. · 94ec7db4
      antirez 提交于
      This code is only responsible to take an LRU-evicted fixed length cache
      of SHA1 that we are sure all the slaves received.
      
      In this commit only the implementation is provided, but the Redis core
      does not use it to actually send EVALSHA to slaves when possible.
      94ec7db4
  9. 21 6月, 2013 1 次提交
    • A
      New API to force propagation. · 515a26bb
      antirez 提交于
      The old REDIS_CMD_FORCE_REPLICATION flag was removed from the
      implementation of Redis, now there is a new API to force specific
      executions of a command to be propagated to AOF / Replication link:
      
          void forceCommandPropagation(int flags);
      
      The new API is also compatible with Lua scripting, so a script that will
      execute commands that are forced to be propagated, will also be
      propagated itself accordingly even if no change to data is operated.
      
      As a side effect, this new design fixes the issue with scripts not able
      to propagate PUBLISH to slaves (issue #873).
      515a26bb
  10. 20 6月, 2013 8 次提交
  11. 19 6月, 2013 2 次提交
    • A
      Fix logStackTrace() when logging to stdout. · 338cd483
      antirez 提交于
      When the semantics changed from logfile = NULL to logfile = "" to log
      into standard output, no proper change was made to logStackTrace() to
      make it able to work with the new setup.
      
      This commit fixes the issue.
      338cd483
    • A
      Lua script errors format more unified. · 9c2c878e
      antirez 提交于
      lua_pcall error handler now formats errors in a way more similar to
      luaPushError() so that errors generated in different contexts look alike.
      9c2c878e
  12. 18 6月, 2013 1 次提交
  13. 17 6月, 2013 1 次提交