]> git.saurik.com Git - redis.git/log
redis.git
12 years agofix typo of redis.conf
quiver [Sat, 10 Mar 2012 12:06:08 +0000 (21:06 +0900)] 
fix typo of redis.conf

12 years agoRDB4 support in redis-check-dump.
antirez [Sat, 10 Mar 2012 11:38:42 +0000 (12:38 +0100)] 
RDB4 support in redis-check-dump.

12 years agoRDB version is no 4, because small hashes are now encoded as ziplists, so older versi...
antirez [Sat, 10 Mar 2012 11:35:15 +0000 (12:35 +0100)] 
RDB version is no 4, because small hashes are now encoded as ziplists, so older versions of Redis will not understand this format.

12 years agoVersion is now 2.5.1, first unstable release of Redis 2.6
antirez [Sat, 10 Mar 2012 11:29:47 +0000 (12:29 +0100)] 
Version is now 2.5.1, first unstable release of Redis 2.6

12 years agoBuild dependencies updated.
antirez [Sat, 10 Mar 2012 11:28:14 +0000 (12:28 +0100)] 
Build dependencies updated.

12 years agoRedis 2.6 branch obtained from unstable removing all the cluster related code.
antirez [Sat, 10 Mar 2012 11:26:37 +0000 (12:26 +0100)] 
Redis 2.6 branch obtained from unstable removing all the cluster related code.

12 years agohash-max-zipmap-... renamed hash-max-ziplist-... in defalt conf for tests.
antirez [Sat, 10 Mar 2012 11:14:17 +0000 (12:14 +0100)] 
hash-max-zipmap-... renamed hash-max-ziplist-... in defalt conf for tests.

12 years agoMore vertical space saved.
antirez [Sat, 10 Mar 2012 10:11:28 +0000 (11:11 +0100)] 
More vertical space saved.

12 years agoMinor code aesthetic change to use Redis code base style rule of saving vertical...
antirez [Sat, 10 Mar 2012 10:09:43 +0000 (11:09 +0100)] 
Minor code aesthetic change to use Redis code base style rule of saving vertical space when possible.

12 years agoRemoved handling of deprecated hash-max-zipmap-entries nad hash-map-zipmap-value...
antirez [Sat, 10 Mar 2012 09:38:53 +0000 (10:38 +0100)] 
Removed handling of deprecated hash-max-zipmap-entries nad hash-map-zipmap-value. Pieter is too good with users ;). Better to have them switch to a saner configuration ASAP after the 2.6 upgrade.

12 years agoAdded a top-function comment to rioWriteHashIteratorCursor() to better specify what...
antirez [Sat, 10 Mar 2012 09:36:51 +0000 (10:36 +0100)] 
Added a top-function comment to rioWriteHashIteratorCursor() to better specify what the function does. Not immediately clear from the name.

12 years agoMerge conflicts resolved.
antirez [Fri, 9 Mar 2012 21:07:45 +0000 (22:07 +0100)] 
Merge conflicts resolved.

12 years agoInstantaneous ops/sec figure in INFO output.
antirez [Thu, 8 Mar 2012 15:15:37 +0000 (16:15 +0100)] 
Instantaneous ops/sec figure in INFO output.

12 years agoSupport for all the redis.conf fields in CONFIG GET. config.c refactored a bit.
antirez [Thu, 8 Mar 2012 11:14:23 +0000 (12:14 +0100)] 
Support for all the redis.conf fields in CONFIG GET. config.c refactored a bit.

12 years agorun_id added to INFO output.
antirez [Thu, 8 Mar 2012 09:13:12 +0000 (10:13 +0100)] 
run_id added to INFO output.

The Run ID is a field that identifies a single execution of the Redis
server. It can be useful for many purposes as it makes easy to detect if
the instance we are talking about is the same, or if it is a different
one or was rebooted. An application of run_id will be in the partial
synchronization of replication, where a slave may request a partial sync
from a given offset only if it is talking with the same master. Another
application is in failover and monitoring scripts.

12 years agoclusterGetRandomName() generalized into getRandomHexChars() so that we can use it...
antirez [Thu, 8 Mar 2012 09:08:44 +0000 (10:08 +0100)] 
clusterGetRandomName() generalized into getRandomHexChars() so that we can use it for the run_id field as well.

12 years agoBy default Redis refuses writes with an error if the latest BGSAVE failed (and at...
antirez [Wed, 7 Mar 2012 17:02:26 +0000 (18:02 +0100)] 
By default Redis refuses writes with an error if the latest BGSAVE failed (and at least one save point is configured). However people having good monitoring systems may prefer a server that continues to work, since they are notified that there are problems by their monitoring systems. This commit implements the ability to turn the feature on or off via redis.conf and CONFIG SET.

12 years agoRefuse writes if can't persist on disk.
antirez [Wed, 7 Mar 2012 12:05:46 +0000 (13:05 +0100)] 
Refuse writes if can't persist on disk.

Redis now refuses accepting write queries if RDB persistence is
configured, but RDB snapshots can't be generated for some reason.
The status of the latest background save operation is now exposed
in the INFO output as well. This fixes issue #90.

12 years agoBetter MONITOR output, now includes client ip:port or the lua string if the command...
antirez [Wed, 7 Mar 2012 11:12:15 +0000 (12:12 +0100)] 
Better MONITOR output, now includes client ip:port or the lua string if the command was executed by the scripting engine.

12 years agoanetPeerToString() automatically populates ip/port with something that may be provide...
antirez [Wed, 7 Mar 2012 10:30:30 +0000 (11:30 +0100)] 
anetPeerToString() automatically populates ip/port with something that may be provided to the user as output in case of errors.

12 years agoTIME command.
antirez [Wed, 7 Mar 2012 09:38:01 +0000 (10:38 +0100)] 
TIME command.

12 years agoredis-cli: CSV output added, used for the --slave mode.
antirez [Wed, 29 Feb 2012 16:43:03 +0000 (17:43 +0100)] 
redis-cli: CSV output added, used for the --slave mode.

12 years agoInitial implementation of redis-cli --slave support.
antirez [Wed, 29 Feb 2012 16:10:21 +0000 (17:10 +0100)] 
Initial implementation of redis-cli --slave support.

12 years agoPing the slave using the standard protocol instead of the inline one.
antirez [Wed, 29 Feb 2012 15:33:54 +0000 (16:33 +0100)] 
Ping the slave using the standard protocol instead of the inline one.

12 years agoBetter implementation for BRPOP/BLPOP in the non blocking case.
antirez [Wed, 29 Feb 2012 13:41:57 +0000 (14:41 +0100)] 
Better implementation for BRPOP/BLPOP in the non blocking case.

12 years agolpush arguments vector rewrite modified for more speed and to memory leak removal.
antirez [Wed, 29 Feb 2012 12:38:30 +0000 (13:38 +0100)] 
lpush arguments vector rewrite modified for more speed and to memory leak removal.

12 years agoVersion bumped to 2.9.5
antirez [Tue, 28 Feb 2012 23:54:52 +0000 (00:54 +0100)] 
Version bumped to 2.9.5

12 years agoBetter system for additional commands replication.
antirez [Tue, 28 Feb 2012 23:46:50 +0000 (00:46 +0100)] 
Better system for additional commands replication.

The new code uses a more generic data structure to describe redis operations.
The new design allows for multiple alsoPropagate() calls within the scope of a
single command, that is useful in different contexts. For instance there
when there are multiple clients doing BRPOPLPUSH against the same list,
and a variadic LPUSH is performed against this list, the blocked clients
will both be served, and we should correctly replicate multiple LPUSH
commands after the replication of the current command.

12 years agoAdded a new API to replicate an additional command after the replication of the curre...
antirez [Tue, 28 Feb 2012 17:03:08 +0000 (18:03 +0100)] 
Added a new API to replicate an additional command after the replication of the currently executed command, in order to propagte the LPUSH originating from RPOPLPUSH and indirectly by BRPOPLPUSH.

12 years agopropagate() prototype added to redis.h
antirez [Tue, 28 Feb 2012 15:20:41 +0000 (16:20 +0100)] 
propagate() prototype added to redis.h

12 years agoVar renamed into pushGenericCommand() to better reflect what it means.
antirez [Tue, 28 Feb 2012 15:17:55 +0000 (16:17 +0100)] 
Var renamed into pushGenericCommand() to better reflect what it means.

12 years agoAdded command propagation API.
antirez [Tue, 28 Feb 2012 15:17:00 +0000 (16:17 +0100)] 
Added command propagation API.

12 years agoMerge pull request #362 from fawek/mac-build-fix
Salvatore Sanfilippo [Sun, 26 Feb 2012 15:18:43 +0000 (07:18 -0800)] 
Merge pull request #362 from fawek/mac-build-fix

Fix the build on Mac OS X, where features.h is non-existent

12 years agoFix the build on Mac OS X, where features.h is non-existent
Jakub Wieczorek [Sun, 26 Feb 2012 14:10:42 +0000 (15:10 +0100)] 
Fix the build on Mac OS X, where features.h is non-existent

12 years agouse gcc sync builtins for memory counter when possible
Premysl Hruby [Sun, 26 Feb 2012 08:59:32 +0000 (09:59 +0100)] 
use gcc sync builtins for memory counter when possible

12 years agofix redis-benchmark memory leak
Premysl Hruby [Sun, 26 Feb 2012 09:01:27 +0000 (10:01 +0100)] 
fix redis-benchmark memory leak

12 years agolua_cmsgpack.c added
antirez [Fri, 24 Feb 2012 14:46:25 +0000 (15:46 +0100)] 
lua_cmsgpack.c added

12 years agoLua_cmsgpack added to Redis scripting.
antirez [Fri, 24 Feb 2012 14:45:16 +0000 (15:45 +0100)] 
Lua_cmsgpack added to Redis scripting.

12 years agoredis-benchmark: a few fixes to pipelining implementation.
antirez [Thu, 23 Feb 2012 14:39:26 +0000 (15:39 +0100)] 
redis-benchmark: a few fixes to pipelining implementation.

12 years agoredis-benchmark: Initial support for pipelining.
antirez [Thu, 23 Feb 2012 14:02:43 +0000 (15:02 +0100)] 
redis-benchmark: Initial support for pipelining.

12 years agounstable version called 2.9.4
antirez [Wed, 22 Feb 2012 16:44:18 +0000 (17:44 +0100)] 
unstable version called 2.9.4

12 years agoThe universe is 80 columns wide, accept it.
antirez [Wed, 22 Feb 2012 16:22:40 +0000 (17:22 +0100)] 
The universe is 80 columns wide, accept it.

12 years agoMerge pull request #304 from bradvoth/unstable
Salvatore Sanfilippo [Wed, 22 Feb 2012 16:19:54 +0000 (08:19 -0800)] 
Merge pull request #304 from bradvoth/unstable

Simple install script changes

12 years agoFix for issue #306, thanks to tchajed (on github) for the pull request. The original...
antirez [Wed, 22 Feb 2012 15:07:06 +0000 (16:07 +0100)] 
Fix for issue #306, thanks to tchajed (on github) for the pull request. The original patch was reworked a bit.

12 years agoRedis-cli should accept help command even if there is no connection to the server.
antirez [Wed, 22 Feb 2012 14:16:11 +0000 (15:16 +0100)] 
Redis-cli should accept help command even if there is no connection to the server.

12 years agoeven less false positive on obuf-limits test.
antirez [Wed, 22 Feb 2012 10:25:30 +0000 (11:25 +0100)] 
even less false positive on obuf-limits test.

12 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Wed, 22 Feb 2012 08:52:29 +0000 (09:52 +0100)] 
Merge remote-tracking branch 'origin/unstable' into unstable

12 years agozzlIsInRange() now is capable of handling empty sorted sets that may end inside the...
antirez [Wed, 22 Feb 2012 08:52:10 +0000 (09:52 +0100)] 
zzlIsInRange() now is capable of handling empty sorted sets that may end inside the data set when loading very old RDB files produced by early-stage versions of Redis.

12 years agoMerge pull request #347 from pietern/unstable-segv
Salvatore Sanfilippo [Tue, 21 Feb 2012 18:29:55 +0000 (10:29 -0800)] 
Merge pull request #347 from pietern/unstable-segv

Force SIGSEGV without HAVE_BACKTRACE (unstable)

12 years agoSolaris has backtrace(3)
Pieter Noordhuis [Tue, 21 Feb 2012 18:11:20 +0000 (10:11 -0800)] 
Solaris has backtrace(3)

12 years agoAlso force SIGSEGV without HAVE_BACKTRACE
Pieter Noordhuis [Tue, 21 Feb 2012 18:05:46 +0000 (10:05 -0800)] 
Also force SIGSEGV without HAVE_BACKTRACE

12 years agoFixed undefined behavior in *INCR style functions overflow detection. Sorry clang!
antirez [Tue, 21 Feb 2012 17:25:49 +0000 (18:25 +0100)] 
Fixed undefined behavior in *INCR style functions overflow detection. Sorry clang!

12 years agobzero -> memset
antirez [Tue, 21 Feb 2012 09:06:04 +0000 (10:06 +0100)] 
bzero -> memset

12 years agoFix 32bit build of hiredis
antirez [Sun, 19 Feb 2012 19:49:20 +0000 (20:49 +0100)] 
Fix 32bit build of hiredis

12 years agoApplied a few modifications to hiredis to tune it for speed (redis-benchmark) and...
antirez [Sun, 19 Feb 2012 19:33:59 +0000 (20:33 +0100)] 
Applied a few modifications to hiredis to tune it for speed (redis-benchmark) and ability to read more deeply nested replies (redis-cli).

12 years agoThe hiredis lib shipped with Redis was updated to latest version.
antirez [Sun, 19 Feb 2012 19:26:36 +0000 (20:26 +0100)] 
The hiredis lib shipped with Redis was updated to latest version.

12 years agoDon't expire keys when loading an RDB after a SYNC
Pieter Noordhuis [Sat, 14 Jan 2012 01:49:16 +0000 (17:49 -0800)] 
Don't expire keys when loading an RDB after a SYNC

The cron is responsible for expiring keys. When keys are expired at
load time, it is possible that the snapshot of a master node gets
modified. This can in turn lead to inconsistencies in the data set.

A more concrete example of this behavior follows. A user reported a
slave that would show an monotonically increase input buffer length,
shortly after completing a SYNC. Also, `INFO` output showed a single
blocked client, which could only be the master link. Investigation
showed that indeed the `BRPOP` command was fed by the master. This
command can only end up in the stream of write operations when it did
NOT block, and effectively executed `RPOP`. However, when the key
involved in the `BRPOP` is expired BEFORE the command is executed, the
client executing it will block. The client in this case, is the master
link.

12 years agoIssue #330 regression test.
antirez [Thu, 16 Feb 2012 15:13:40 +0000 (16:13 +0100)] 
Issue #330 regression test.

12 years agoNow HINCRBY can detect overflows too. Fix for issue #330.
antirez [Thu, 16 Feb 2012 15:09:08 +0000 (16:09 +0100)] 
Now HINCRBY can detect overflows too. Fix for issue #330.

12 years agoReturn ASAP from checkClientOutputBufferLimits() if c->reply_bytes is zero.
antirez [Thu, 16 Feb 2012 11:20:56 +0000 (12:20 +0100)] 
Return ASAP from checkClientOutputBufferLimits() if c->reply_bytes is zero.

12 years agoMerge branch 'issue327' into unstable
antirez [Thu, 16 Feb 2012 08:40:27 +0000 (09:40 +0100)] 
Merge branch 'issue327' into unstable

12 years agoAdd stdint.h in endianconv.h to fix issue #336.
antirez [Wed, 15 Feb 2012 11:21:04 +0000 (12:21 +0100)] 
Add stdint.h in endianconv.h to fix issue #336.

12 years agoredis-check-aof is now large files safe also on 32 bit systems.
antirez [Tue, 14 Feb 2012 18:57:31 +0000 (19:57 +0100)] 
redis-check-aof is now large files safe also on 32 bit systems.

12 years agoadd -f flag to cp when installing, otherwise stopping the server is
antirez [Tue, 14 Feb 2012 15:15:20 +0000 (16:15 +0100)] 
add -f flag to cp when installing, otherwise stopping the server is
needed when installing a new Redis version. Thanks to Scott Kevill.
Fixes issue #335.

12 years agoendian.c/h -> endianconv.c/h to avoid issues with broken libraries search paths.
antirez [Tue, 14 Feb 2012 15:11:46 +0000 (16:11 +0100)] 
endian.c/h -> endianconv.c/h to avoid issues with broken libraries search paths.

12 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Tue, 14 Feb 2012 15:02:04 +0000 (16:02 +0100)] 
Merge remote-tracking branch 'origin/unstable' into unstable

12 years agointset.c endianess fixes.
antirez [Tue, 14 Feb 2012 14:35:50 +0000 (15:35 +0100)] 
intset.c endianess fixes.

12 years agoMerge pull request #334 from lsbardel/quantredis
Salvatore Sanfilippo [Mon, 13 Feb 2012 23:05:59 +0000 (15:05 -0800)] 
Merge pull request #334 from lsbardel/quantredis

added lua struct c extension

12 years agoadded lua struct c extension
lsbardel [Mon, 13 Feb 2012 21:05:21 +0000 (21:05 +0000)] 
added lua struct c extension

12 years agoziplist.c endianess fixes, chapter 5.
antirez [Thu, 9 Feb 2012 16:09:01 +0000 (17:09 +0100)] 
ziplist.c endianess fixes, chapter 5.

12 years agoziplist.c endianess fixes, chapter 4.
antirez [Thu, 9 Feb 2012 15:36:25 +0000 (16:36 +0100)] 
ziplist.c endianess fixes, chapter 4.

12 years agoziplist.c endianess fixes, chapter 3.
antirez [Thu, 9 Feb 2012 15:28:35 +0000 (16:28 +0100)] 
ziplist.c endianess fixes, chapter 3.

12 years agomore ziplist.c endianess fixes
antirez [Wed, 8 Feb 2012 22:20:39 +0000 (23:20 +0100)] 
more ziplist.c endianess fixes

12 years agoziplist.c fixes for bigendian
antirez [Wed, 8 Feb 2012 21:59:35 +0000 (22:59 +0100)] 
ziplist.c fixes for bigendian

12 years agoA few small BSD related fixes.
antirez [Wed, 8 Feb 2012 21:24:59 +0000 (22:24 +0100)] 
A few small BSD related fixes.

12 years agomore practical maxmemory+slaves hint in redis.conf
antirez [Tue, 7 Feb 2012 23:20:46 +0000 (00:20 +0100)] 
more practical maxmemory+slaves hint in redis.conf

12 years agoredis.conf updated with new maxmemory semantics
antirez [Tue, 7 Feb 2012 23:17:27 +0000 (00:17 +0100)] 
redis.conf updated with new maxmemory semantics

12 years agodebugging messages removed from freeMemoryIfNeeded()
antirez [Tue, 7 Feb 2012 23:10:20 +0000 (00:10 +0100)] 
debugging messages removed from freeMemoryIfNeeded()

12 years agoFixes to c->reply_bytes computation, and debug messages to closely study the behavior...
antirez [Tue, 7 Feb 2012 16:41:31 +0000 (17:41 +0100)] 
Fixes to c->reply_bytes computation, and debug messages to closely study the behavior of memory pressure + slaves + maxmemory + blocked slaves.

12 years agoFixes to 2.6 release notes file
antirez [Tue, 7 Feb 2012 14:08:38 +0000 (15:08 +0100)] 
Fixes to 2.6 release notes file

12 years agoPrecision of getClientOutputBufferMemoryUsage() greatily improved, see issue #327...
antirez [Tue, 7 Feb 2012 12:05:36 +0000 (13:05 +0100)] 
Precision of getClientOutputBufferMemoryUsage() greatily improved, see issue #327 for more information.

12 years agofreeMemoryIfNeeded() minor refactoring
antirez [Mon, 6 Feb 2012 15:56:42 +0000 (16:56 +0100)] 
freeMemoryIfNeeded() minor refactoring

12 years agoAlso remove size of AOF buffers from used memory when doing the math for freeMemoryIf...
antirez [Mon, 6 Feb 2012 15:35:43 +0000 (16:35 +0100)] 
Also remove size of AOF buffers from used memory when doing the math for freeMemoryIfNeeded()

12 years agoA first (work in progress) release notes for 2.6
antirez [Sun, 5 Feb 2012 10:08:01 +0000 (11:08 +0100)] 
A first (work in progress) release notes for 2.6

12 years agoINSTALL now redirects the user to README
antirez [Sun, 5 Feb 2012 08:38:41 +0000 (09:38 +0100)] 
INSTALL now redirects the user to README

12 years agoRedis Manifesto moved from src to root dir
antirez [Sun, 5 Feb 2012 08:37:08 +0000 (09:37 +0100)] 
Redis Manifesto moved from src to root dir

12 years agoThis fixes issue #327, is a very complex fix (unfortunately), details:
antirez [Sat, 4 Feb 2012 13:05:54 +0000 (14:05 +0100)] 
This fixes issue #327, is a very complex fix (unfortunately), details:

1) sendReplyToClient() now no longer stops transferring data to a single
client in the case we are out of memory (maxmemory-wise).

2) in processCommand() the idea of we being out of memory is no longer
the naive zmalloc_used_memory() > server.maxmemory. To say if we can
accept or not write queries is up to the return value of
freeMemoryIfNeeded(), that has full control about that.

3) freeMemoryIfNeeded() now does its math without considering output
buffers size. But at the same time it can't let the output buffers to
put us too much outside the max memory limit, so at the same time it
makes sure there is enough effort into delivering the output buffers to
the slaves, calling the write handler directly.

This three changes are the result of many tests, I found (partially
empirically) that is the best way to address the problem, but maybe
we'll find better solutions in the future.

12 years agoUse less memory when emitting the protocol, by using more shared objects for commonly...
antirez [Sat, 4 Feb 2012 07:58:37 +0000 (08:58 +0100)] 
Use less memory when emitting the protocol, by using more shared objects for commonly emitted parts of the protocol.

12 years agoNow Lua scripts dispatch Redis commands properly calling the call() function. In...
antirez [Thu, 2 Feb 2012 15:30:52 +0000 (16:30 +0100)] 
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.

12 years agoSet a 3.5 GB maxmemory limit with noeviction policy if a 32 bit instance without...
antirez [Thu, 2 Feb 2012 09:17:16 +0000 (10:17 +0100)] 
Set a 3.5 GB maxmemory limit with noeviction policy if a 32 bit instance without user-provided memory limits is detected.

12 years agoAdded a server.arch_bits field instead of computing it at runtime for INFO.
antirez [Thu, 2 Feb 2012 09:02:40 +0000 (10:02 +0100)] 
Added a server.arch_bits field instead of computing it at runtime for INFO.

12 years agoOnly incremnet stats for key miss/hit when the key is semantically accessed in read...
antirez [Wed, 1 Feb 2012 20:47:41 +0000 (21:47 +0100)] 
Only incremnet stats for key miss/hit when the key is semantically accessed in read-only.

12 years agoAdded tests checking ability of the scripting engine to reorder the output of command...
antirez [Wed, 1 Feb 2012 16:49:03 +0000 (17:49 +0100)] 
Added tests checking ability of the scripting engine to reorder the output of commands with a random output regarding signle elements position in the multi bulk reply.

12 years agoA few SORT tests made more resistant to false negatives resulitng from poor randomiza...
antirez [Wed, 1 Feb 2012 16:37:48 +0000 (17:37 +0100)] 
A few SORT tests made more resistant to false negatives resulitng from poor randomization of Redis hash function with one byte inputs.

12 years agoNew SORT tests checking the new more deterministic behavior of SORT sorting algorithm.
antirez [Wed, 1 Feb 2012 16:17:52 +0000 (17:17 +0100)] 
New SORT tests checking the new more deterministic behavior of SORT sorting algorithm.

12 years agoMake SORT BY <constant> STORE ... to always produce the same output by force sorting...
antirez [Wed, 1 Feb 2012 16:05:45 +0000 (17:05 +0100)] 
Make SORT BY <constant> STORE ... to always produce the same output by force sorting, so that we have deterministic replication of this command.

12 years agoSORT is now more deterministic: does not accept to compare by score items that have...
antirez [Wed, 1 Feb 2012 14:22:28 +0000 (15:22 +0100)] 
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.

12 years agoOrder output of commands returning random arrays using table.sort when called from...
antirez [Tue, 31 Jan 2012 15:09:21 +0000 (16:09 +0100)] 
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.

12 years agoFixed redis-benchmark --help output typo
antirez [Tue, 31 Jan 2012 10:43:32 +0000 (11:43 +0100)] 
Fixed redis-benchmark --help output typo

12 years ago64 bit instances are no longer limited to have at max 2^32-1 elements in lists.
antirez [Tue, 31 Jan 2012 09:35:52 +0000 (10:35 +0100)] 
64 bit instances are no longer limited to have at max 2^32-1 elements in lists.