- 02 Feb, 2012 3 commits
-
-
antirez authored
Now Lua scripts dispatch Redis commands properly calling the call() function. In order to make this possible call() was improved with a new flags argument that controls how the Redis command is executed.
-
antirez authored
Set a 3.5 GB maxmemory limit with noeviction policy if a 32 bit instance without user-provided memory limits is detected.
-
antirez authored
-
- 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 2 commits
-
-
antirez authored
setKey(): call the higher level wrapper setModifiedKey() instead of touchWatchedKey() even if currently they are exactly the same.
-
Michal Kwiatkowski authored
-
- 29 Jan, 2012 1 commit
-
-
Jakub Wieczorek authored
-
- 25 Jan, 2012 6 commits
-
-
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
patch by Mukund Sivaraman, modified by me to make it simpler and to use my coding style).
-
Mukund Sivaraman authored
-
- 24 Jan, 2012 5 commits
-
-
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 3 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
- 20 Jan, 2012 4 commits
- 17 Jan, 2012 2 commits
- 16 Jan, 2012 5 commits
-
-
antirez authored
It is now posible to flush all the previous saving points in redis.conf by using a save directive with a single empty string argument, like it happens for CONFIG SET save.
-
antirez authored
Don't change the replication state if SLAVE OF is called with arguments specifying the same master we are already connected with. This fixes issues #290.
-
antirez authored
-
antirez authored
-
antirez authored
-