- 01 Feb, 2012 3 commits
-
-
antirez authored
-
antirez authored
Make SORT BY <constant> STORE ... to always produce the same output by force sorting, so that we have deterministic replication of this command.
-
antirez authored
SORT is now more deterministic: does not accept to compare by score items that have scores not representing a valid double. Also items with the same score are compared lexycographically. At the same time the scripting side introduced the ability to sort the output of SORT when sort uses the BY <constant> optimization, resulting in no specific ordering. Since in this case the user may use GET, and the result of GET can be null, converted into false as Lua data type, this commit also introduces the ability to sort Lua tables containining false, only if the first (faster) attempt at using just table.sort with a single argument fails.
-
- 31 Jan, 2012 3 commits
-
-
antirez authored
Order output of commands returning random arrays using table.sort when called from Lua, partially fixing issue #165. The issue is yet not completely fixed since we can't add the REDIS_CMD_SORT_FOR_SCRIPT flag in SORT currently, both because it may contain NULLs and because it is not cool to re-sort everything at every call when instead this should be sorted only if BY <constant> is used.
-
antirez authored
-
antirez authored
-
- 30 Jan, 2012 6 commits
-
-
antirez authored
minimal change to obuf-limits.tcl test to make sure there are no false positives with 32bit instances as well.
-
antirez authored
-
Salvatore Sanfilippo authored
Lua reports line numbers off by one in error messages
-
antirez authored
setKey(): call the higher level wrapper setModifiedKey() instead of touchWatchedKey() even if currently they are exactly the same.
-
Salvatore Sanfilippo authored
SORT with STORE removes key if result is empty. This fixes issue #227.
-
Michal Kwiatkowski authored
-
- 29 Jan, 2012 1 commit
-
-
Jakub Wieczorek authored
-
- 26 Jan, 2012 2 commits
- 25 Jan, 2012 11 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
Fixed a non critical bug signaled by clang static analyzer thanks to Mukund Sivaraman for reporting it: there was a not initialized field populating the cluster message header, but it is always fixed at later time before sending the packet.
-
antirez authored
-
antirez authored
patch by Mukund Sivaraman, modified by me to make it simpler and to use my coding style).
-
Mukund Sivaraman authored
-
- 24 Jan, 2012 6 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
Client output buffer limits: configuration of parameters for the different classes of clients implemented.
-
antirez authored
asyncCloseClientOnOutputBufferLimitReached() now ignores clients with REDIS_CLOSE_ASAP flag already set. Return value of the function changed from int to void since it is not used. Fixed logging of the client scheduled to be closed.
-
- 23 Jan, 2012 5 commits
- 22 Jan, 2012 1 commit
-
-
antirez authored
fixed typo in hahs function seed default value. It is no longer used but fixed to retain the old constant as default anyway.
-
- 21 Jan, 2012 2 commits