]> git.saurik.com Git - redis.git/log
redis.git
13 years agoFixed SINTER[STORE] problem related to the new copy on write safe iterator
antirez [Sun, 15 May 2011 10:15:54 +0000 (12:15 +0200)] 
Fixed SINTER[STORE] problem related to the new copy on write safe iterator

13 years agoreplication with expire test modified to produce no or less false failures
antirez [Thu, 12 May 2011 18:15:13 +0000 (20:15 +0200)] 
replication with expire test modified to produce no or less false failures

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Thu, 12 May 2011 18:21:00 +0000 (20:21 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoZINTERSTORE regressiont test with two sets, intset+hashtable
antirez [Thu, 12 May 2011 18:20:25 +0000 (20:20 +0200)] 
ZINTERSTORE regressiont test with two sets, intset+hashtable

13 years agoremoved assert causing an illegal memory access. This was responsible of crashes...
antirez [Wed, 11 May 2011 07:49:23 +0000 (09:49 +0200)] 
removed assert causing an illegal memory access. This was responsible of crashes during BLPOP and other list blocking operations.

13 years agoRDB version signature bumped to 2, now that direct saving of specially encoded types...
antirez [Tue, 10 May 2011 09:31:37 +0000 (11:31 +0200)] 
RDB version signature bumped to 2, now that direct saving of specially encoded types is implemented 2.2 instances are no longer able to read rdb files produced by 2.4 or unstable.

13 years agoIntroduced a safe iterator interface that can be used to iterate while accessing...
antirez [Tue, 10 May 2011 08:15:50 +0000 (10:15 +0200)] 
Introduced a safe iterator interface that can be used to iterate while accessing the dictionary at the same time. Now the default interface is consireded unsafe and should be used only with dictNext()

13 years agoDEBUG DIGEST additional lookup needed for VM removed from unstable branch that does...
antirez [Tue, 10 May 2011 08:08:01 +0000 (10:08 +0200)] 
DEBUG DIGEST additional lookup needed for VM removed from unstable branch that does not have VM at all

13 years agoUseless statement removed
antirez [Tue, 10 May 2011 08:07:04 +0000 (10:07 +0200)] 
Useless statement removed

13 years agowhen Redis fails accepting a new connection reports the error at WARNING and not...
antirez [Sat, 7 May 2011 09:47:34 +0000 (11:47 +0200)] 
when Redis fails accepting a new connection reports the error at WARNING and not VERBOSE error level. Thanks to offby1 for proposing this in the Redis mailing list. #backport-candidate

13 years agoCluster TODO updated
antirez [Fri, 6 May 2011 14:23:14 +0000 (16:23 +0200)] 
Cluster TODO updated

13 years agoclear importing/exporing state when appropriate on SETSLOT or ADDSLOTS cluster commands
antirez [Fri, 6 May 2011 14:08:10 +0000 (16:08 +0200)] 
clear importing/exporing state when appropriate on SETSLOT or ADDSLOTS cluster commands

13 years agoCLUSTER SETSLOT command and some refactoring of the cluster command
antirez [Fri, 6 May 2011 13:44:09 +0000 (15:44 +0200)] 
CLUSTER SETSLOT command and some refactoring of the cluster command

13 years agoCLUSTER DELSLOTS
antirez [Fri, 6 May 2011 11:38:27 +0000 (13:38 +0200)] 
CLUSTER DELSLOTS

13 years agoFixed semantics of CLUSTER SETSLOT, SELECT now only denied in cluster mode if selecte...
antirez [Thu, 5 May 2011 16:10:02 +0000 (18:10 +0200)] 
Fixed semantics of CLUSTER SETSLOT, SELECT now only denied in cluster mode if selected DB is not 0 so that MIGRATE still works well.

13 years agoCLUSTER SETSLOT STABLE fixed
antirez [Thu, 5 May 2011 15:56:12 +0000 (17:56 +0200)] 
CLUSTER SETSLOT STABLE fixed

13 years agomissing return caused protocol desync in CLUSTER SETSLOT
antirez [Thu, 5 May 2011 15:52:19 +0000 (17:52 +0200)] 
missing return caused protocol desync in CLUSTER SETSLOT

13 years agoFixed problem in cluster redirection due to a stupid typo
antirez [Thu, 5 May 2011 15:50:14 +0000 (17:50 +0200)] 
Fixed problem in cluster redirection due to a stupid typo

13 years agoExtra tests for string2ll
Pieter Noordhuis [Wed, 27 Apr 2011 12:38:58 +0000 (14:38 +0200)] 
Extra tests for string2ll

13 years agoCheck seplen and len before malloc'ing "tokens"
Pieter Noordhuis [Wed, 27 Apr 2011 12:32:56 +0000 (14:32 +0200)] 
Check seplen and len before malloc'ing "tokens"

13 years agoCheck for \n after finding \r
Pieter Noordhuis [Wed, 27 Apr 2011 12:29:27 +0000 (14:29 +0200)] 
Check for \n after finding \r

13 years agoShow memory allocator in INFO output
Pieter Noordhuis [Wed, 27 Apr 2011 11:35:49 +0000 (13:35 +0200)] 
Show memory allocator in INFO output

13 years agoUse string2ll in ziplist code (faster)
Pieter Noordhuis [Wed, 27 Apr 2011 11:30:32 +0000 (13:30 +0200)] 
Use string2ll in ziplist code (faster)

13 years agoTests for string2ll; move isObject* to object.c
Pieter Noordhuis [Wed, 27 Apr 2011 11:24:52 +0000 (13:24 +0200)] 
Tests for string2ll; move isObject* to object.c

13 years agoMove code
Pieter Noordhuis [Wed, 27 Apr 2011 11:16:23 +0000 (13:16 +0200)] 
Move code

13 years agoMore allocators
Pieter Noordhuis [Tue, 19 Apr 2011 21:54:43 +0000 (23:54 +0200)] 
More allocators

13 years agoInline sdslen and sdsavail (thanks to @bitbckt)
Pieter Noordhuis [Tue, 19 Apr 2011 21:10:45 +0000 (23:10 +0200)] 
Inline sdslen and sdsavail (thanks to @bitbckt)

13 years agoUpdate hiredis
Pieter Noordhuis [Tue, 19 Apr 2011 21:07:36 +0000 (23:07 +0200)] 
Update hiredis

13 years agoUse custom string2ll and strchr
Pieter Noordhuis [Mon, 18 Apr 2011 19:09:12 +0000 (21:09 +0200)] 
Use custom string2ll and strchr

13 years agoFix ziplist regression and update stresser
Pieter Noordhuis [Thu, 5 May 2011 12:55:51 +0000 (14:55 +0200)] 
Fix ziplist regression and update stresser

13 years agocluster import/export of hash slots implemented in the query redirection engine
antirez [Thu, 5 May 2011 09:13:21 +0000 (11:13 +0200)] 
cluster import/export of hash slots implemented in the query redirection engine

13 years agoif /dev/urandom is not available use rand() to get a random node name
antirez [Wed, 4 May 2011 08:30:22 +0000 (10:30 +0200)] 
if /dev/urandom is not available use rand() to get a random node name

13 years agoBetter pretty printed makefile output
antirez [Wed, 4 May 2011 08:17:05 +0000 (10:17 +0200)] 
Better pretty printed makefile output

13 years agoinitial pretty printing in makefile
antirez [Tue, 3 May 2011 21:32:37 +0000 (23:32 +0200)] 
initial pretty printing in makefile

13 years agoCLUSTER SETSLOT implemented
antirez [Wed, 4 May 2011 07:31:37 +0000 (09:31 +0200)] 
CLUSTER SETSLOT implemented

13 years agorender migrating and importing slots in cluster nodes info
antirez [Mon, 2 May 2011 17:04:33 +0000 (19:04 +0200)] 
render migrating and importing slots in cluster nodes info

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Sun, 1 May 2011 13:38:59 +0000 (15:38 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoFixed a problem with string2ll()
antirez [Sun, 1 May 2011 13:36:47 +0000 (15:36 +0200)] 
Fixed a problem with string2ll()

13 years agoCLUSTER subcommands to set slots in migrating or importing state. Still a work in...
antirez [Fri, 29 Apr 2011 15:34:03 +0000 (17:34 +0200)] 
CLUSTER subcommands to set slots in migrating or importing state. Still a work in progress...

13 years agoCLUSTER GETKEYSINSLOT implemented
antirez [Fri, 29 Apr 2011 14:17:58 +0000 (16:17 +0200)] 
CLUSTER GETKEYSINSLOT implemented

13 years agoCLUSTER KEYSLOT command
antirez [Fri, 29 Apr 2011 12:31:18 +0000 (14:31 +0200)] 
CLUSTER KEYSLOT command

13 years agoFixed a bug with replication where SLAVEOF NO ONE caused a slave to close the connect...
antirez [Fri, 29 Apr 2011 12:18:16 +0000 (14:18 +0200)] 
Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the connection with its slaves

13 years agotake a hashslot -> keys index, will be used for cluster rehasing
antirez [Thu, 28 Apr 2011 17:00:33 +0000 (19:00 +0200)] 
take a hashslot -> keys index, will be used for cluster rehasing

13 years agoUse correct argc/argv for cleanup when loading AOF
Pieter Noordhuis [Fri, 22 Apr 2011 07:44:06 +0000 (09:44 +0200)] 
Use correct argc/argv for cleanup when loading AOF

13 years agoReformat AOF tests
Pieter Noordhuis [Fri, 22 Apr 2011 07:37:28 +0000 (09:37 +0200)] 
Reformat AOF tests

13 years agopeak fragmentation ratio removed as it is a confusing field for users and trivial...
antirez [Thu, 21 Apr 2011 14:56:31 +0000 (16:56 +0200)] 
peak fragmentation ratio removed as it is a confusing field for users and trivial to compute at hand now that there is peak memory information in INFO output

13 years agoCLIENT KILL implemented
antirez [Thu, 21 Apr 2011 13:47:47 +0000 (15:47 +0200)] 
CLIENT KILL implemented

13 years agoCLIENT LIST implemented
antirez [Thu, 21 Apr 2011 13:38:02 +0000 (15:38 +0200)] 
CLIENT LIST implemented

13 years agosave peak memory usage as statistic and show it in INFO. Also a new INFO field was...
antirez [Thu, 21 Apr 2011 08:49:52 +0000 (10:49 +0200)] 
save peak memory usage as statistic and show it in INFO. Also a new INFO field was added showing the fragmentation ratio using the peak memory info.

13 years agoremoved check for zmalloc return NULL in createClient(). The check was misplaced...
antirez [Wed, 20 Apr 2011 10:51:03 +0000 (12:51 +0200)] 
removed check for zmalloc return NULL in createClient(). The check was misplaced, and zmalloc never returns NULL.

13 years agoVariadic SREM
antirez [Tue, 19 Apr 2011 15:37:03 +0000 (17:37 +0200)] 
Variadic SREM

13 years agovariadic HDEL with tests
antirez [Tue, 19 Apr 2011 15:07:55 +0000 (17:07 +0200)] 
variadic HDEL with tests

13 years agoVariadic SADD tests
antirez [Fri, 15 Apr 2011 16:28:25 +0000 (18:28 +0200)] 
Variadic SADD tests

13 years agovariadic SADD
antirez [Fri, 15 Apr 2011 16:08:32 +0000 (18:08 +0200)] 
variadic SADD

13 years agoaddReplyLongLong optimized to return shared objects when the value to reply is 0...
antirez [Fri, 15 Apr 2011 16:08:24 +0000 (18:08 +0200)] 
addReplyLongLong optimized to return shared objects when the value to reply is 0 or 1

13 years agoversion bumped to 2.9, that is, 3.0 unstable
antirez [Fri, 15 Apr 2011 15:44:08 +0000 (17:44 +0200)] 
version bumped to 2.9, that is, 3.0 unstable

13 years agotests for variadic list push
antirez [Fri, 15 Apr 2011 14:52:07 +0000 (16:52 +0200)] 
tests for variadic list push

13 years agotest fixed after ascii art banner modified the output of a running server
antirez [Fri, 15 Apr 2011 14:35:54 +0000 (16:35 +0200)] 
test fixed after ascii art banner modified the output of a running server

13 years agovariadic LPUSH/RPUSH
antirez [Fri, 15 Apr 2011 14:35:27 +0000 (16:35 +0200)] 
variadic LPUSH/RPUSH

13 years agoMerge remote branch 'pietern/unstable-zset' into unstable
antirez [Thu, 14 Apr 2011 11:31:14 +0000 (13:31 +0200)] 
Merge remote branch 'pietern/unstable-zset' into unstable

13 years agoredis-trib: functions implementing commands moved at bottom
antirez [Thu, 14 Apr 2011 07:41:22 +0000 (09:41 +0200)] 
redis-trib: functions implementing commands moved at bottom

13 years agofixed bug due to typo in code
antirez [Wed, 13 Apr 2011 19:26:12 +0000 (21:26 +0200)] 
fixed bug due to typo in code

13 years agofixed typo in comment
antirez [Wed, 13 Apr 2011 18:17:11 +0000 (20:17 +0200)] 
fixed typo in comment

13 years agofixed a typo in redis-trib
antirez [Wed, 13 Apr 2011 16:50:50 +0000 (18:50 +0200)] 
fixed a typo in redis-trib

13 years agouse map! instead of reassigning
antirez [Wed, 13 Apr 2011 16:46:29 +0000 (18:46 +0200)] 
use map! instead of reassigning

13 years agohopefully more readable info_string method in redis-trib
antirez [Wed, 13 Apr 2011 16:40:51 +0000 (18:40 +0200)] 
hopefully more readable info_string method in redis-trib

13 years agoredis-trib create, first version is know working
antirez [Wed, 13 Apr 2011 13:58:05 +0000 (15:58 +0200)] 
redis-trib create, first version is know working

13 years agoTODO updated
antirez [Wed, 13 Apr 2011 13:39:43 +0000 (15:39 +0200)] 
TODO updated

13 years agono longer useful debugging printf removed
antirez [Wed, 13 Apr 2011 09:42:05 +0000 (11:42 +0200)] 
no longer useful debugging printf removed

13 years agoASCII ART FTW
antirez [Wed, 13 Apr 2011 08:58:21 +0000 (10:58 +0200)] 
ASCII ART FTW

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Wed, 13 Apr 2011 08:39:06 +0000 (10:39 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoredis-trib: show list of commands
antirez [Wed, 13 Apr 2011 08:38:56 +0000 (10:38 +0200)] 
redis-trib: show list of commands

13 years agoTODO update
antirez [Tue, 12 Apr 2011 17:21:03 +0000 (19:21 +0200)] 
TODO update

13 years agoredis-trib can now assign hash slots to initialize a cluster. Next step is to join...
antirez [Tue, 12 Apr 2011 15:06:33 +0000 (17:06 +0200)] 
redis-trib can now assign hash slots to initialize a cluster. Next step is to join the cluster.

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Tue, 12 Apr 2011 13:36:10 +0000 (15:36 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoTODO modified
antirez [Mon, 11 Apr 2011 19:47:45 +0000 (21:47 +0200)] 
TODO modified

13 years agoassert_empty in redis-trib
Salvatore Sanfilippo [Mon, 11 Apr 2011 16:26:00 +0000 (18:26 +0200)] 
assert_empty in redis-trib

13 years agoadded known nodes info in CLUSTER INFO
Salvatore Sanfilippo [Mon, 11 Apr 2011 15:40:35 +0000 (17:40 +0200)] 
added known nodes info in CLUSTER INFO

13 years agoa first refactoring of redis-trib.rb
Salvatore Sanfilippo [Mon, 11 Apr 2011 14:58:47 +0000 (16:58 +0200)] 
a first refactoring of redis-trib.rb

13 years agoRedis-trib initial implementation (currently can not do any actual work)
Salvatore Sanfilippo [Mon, 11 Apr 2011 14:41:06 +0000 (16:41 +0200)] 
Redis-trib initial implementation (currently can not do any actual work)

13 years agoadded minimal cluster section in INFO output. This is only useful to check if the...
Salvatore Sanfilippo [Mon, 11 Apr 2011 14:39:39 +0000 (16:39 +0200)] 
added minimal cluster section in INFO output. This is only useful to check if the instance is or not configured as a cluster node, all the other informations are accessible using the CLUSTER command.

13 years agoupdate state when FAIL is cleared from a node
antirez [Fri, 8 Apr 2011 12:19:52 +0000 (14:19 +0200)] 
update state when FAIL is cleared from a node

13 years agodo not process node failure messages about yourself
antirez [Fri, 8 Apr 2011 08:17:41 +0000 (10:17 +0200)] 
do not process node failure messages about yourself

13 years agofixed lame error in slot assignment
antirez [Thu, 7 Apr 2011 21:33:18 +0000 (23:33 +0200)] 
fixed lame error in slot assignment

13 years agoevaluate cluster state after config load. Still bugs in the slot allocation after...
antirez [Thu, 7 Apr 2011 21:23:27 +0000 (23:23 +0200)] 
evaluate cluster state after config load. Still bugs in the slot allocation after nodes config load to fix.

13 years agomaster node without slaves rejoin fixed
antirez [Thu, 7 Apr 2011 21:10:32 +0000 (23:10 +0200)] 
master node without slaves rejoin fixed

13 years agowhen loading config set the ping/pong timestaps to the current value. Even a node...
antirez [Thu, 7 Apr 2011 21:06:01 +0000 (23:06 +0200)] 
when loading config set the ping/pong timestaps to the current value. Even a node in FAIL state can be accepted again if there are no slaves for this node so election was not possible

13 years agonode cluster configuration file configurable via redis.conf
antirez [Thu, 7 Apr 2011 19:34:41 +0000 (21:34 +0200)] 
node cluster configuration file configurable via redis.conf

13 years agouseless newline removed from log message
antirez [Thu, 7 Apr 2011 17:22:24 +0000 (19:22 +0200)] 
useless newline removed from log message

13 years agofixes to configuration loading and saving. However there is to still fix the logic...
antirez [Thu, 7 Apr 2011 17:04:16 +0000 (19:04 +0200)] 
fixes to configuration loading and saving. However there is to still fix the logic for reconnection/behavior of nodes after a restart.

13 years agofirst version of cluster config loading code
antirez [Thu, 7 Apr 2011 15:46:28 +0000 (17:46 +0200)] 
first version of cluster config loading code

13 years agoinitial cluster config load code
antirez [Thu, 7 Apr 2011 10:55:02 +0000 (12:55 +0200)] 
initial cluster config load code

13 years agoExplicitly zero zval since it is stored on the stack
Pieter Noordhuis [Wed, 6 Apr 2011 14:39:18 +0000 (16:39 +0200)] 
Explicitly zero zval since it is stored on the stack

13 years agoUpdate target encoding for sorted set from rdb
Pieter Noordhuis [Wed, 6 Apr 2011 14:38:29 +0000 (16:38 +0200)] 
Update target encoding for sorted set from rdb

13 years agoTest for ENCODING_SKIPLIST instead of ENCODING_RAW
Pieter Noordhuis [Wed, 6 Apr 2011 14:17:07 +0000 (16:17 +0200)] 
Test for ENCODING_SKIPLIST instead of ENCODING_RAW

13 years agoTypo
Pieter Noordhuis [Wed, 6 Apr 2011 14:15:15 +0000 (16:15 +0200)] 
Typo

13 years agoMerge branch 'unstable' into unstable-zset
Pieter Noordhuis [Wed, 6 Apr 2011 14:15:01 +0000 (16:15 +0200)] 
Merge branch 'unstable' into unstable-zset

Conflicts:
src/object.c

13 years agomake sure that OBJECT ENCODING returns skiplist for sorted sets, and not raw, so...
antirez [Wed, 6 Apr 2011 13:36:10 +0000 (15:36 +0200)] 
make sure that OBJECT ENCODING returns skiplist for sorted sets, and not raw, so that once we will merge specially encoded sorted sets everything will make sense.

13 years agoOBJECT command implemented
antirez [Wed, 6 Apr 2011 10:19:45 +0000 (12:19 +0200)] 
OBJECT command implemented

13 years agobad data on RESTORE can no longer crash the server but create a memory leak with...
antirez [Tue, 5 Apr 2011 11:57:28 +0000 (13:57 +0200)] 
bad data on RESTORE can no longer crash the server but create a memory leak with some input string