]> git.saurik.com Git - redis.git/log
redis.git
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

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Fri, 1 Apr 2011 17:00:21 +0000 (19:00 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoDUMP implemented, RESTORE and MIGRATE fixed. Use zcalloc() instead of zmalloc()+memse...
antirez [Fri, 1 Apr 2011 16:59:28 +0000 (18:59 +0200)] 
DUMP implemented, RESTORE and MIGRATE fixed. Use zcalloc() instead of zmalloc()+memset() in sds.c when a new string is created with NULL initialization pointer.

13 years agofixed memory leak introduced with the previous commit. Many thanks to Pieter Noordhui...
antirez [Thu, 31 Mar 2011 17:52:15 +0000 (19:52 +0200)] 
fixed memory leak introduced with the previous commit. Many thanks to Pieter Noordhuis for spotting it in no time

13 years agoFixed issue #503. MONITOR + QUIT could crash the server, there are actually other...
antirez [Thu, 31 Mar 2011 14:44:43 +0000 (16:44 +0200)] 
Fixed issue #503. MONITOR + QUIT could crash the server, there are actually other interactions that could have the same effect (for instance Pub/Sub).

13 years agominor change with no actual effects til the loading node config code is in place
antirez [Wed, 30 Mar 2011 16:12:51 +0000 (18:12 +0200)] 
minor change with no actual effects til the loading node config code is in place

13 years agocentralized cluster config file name. Assigned slots in CLUSTER NODES output and...
antirez [Wed, 30 Mar 2011 15:41:13 +0000 (17:41 +0200)] 
centralized cluster config file name. Assigned slots in CLUSTER NODES output and in cluster config file.

13 years agofix to configuration saving on first start
antirez [Wed, 30 Mar 2011 14:51:28 +0000 (16:51 +0200)] 
fix to configuration saving on first start

13 years agocluster configuration saving
antirez [Wed, 30 Mar 2011 12:58:19 +0000 (14:58 +0200)] 
cluster configuration saving

13 years agotodo list for a first cluster howto guide for early testers
antirez [Tue, 29 Mar 2011 16:02:34 +0000 (18:02 +0200)] 
todo list for a first cluster howto guide for early testers

13 years agoCLUSTER file updated with warning
antirez [Tue, 29 Mar 2011 15:52:02 +0000 (17:52 +0200)] 
CLUSTER file updated with warning

13 years agoCluster branch merged to unstable.
antirez [Tue, 29 Mar 2011 15:51:15 +0000 (17:51 +0200)] 
Cluster branch merged to unstable.

13 years agoTODO modified
antirez [Tue, 29 Mar 2011 09:04:55 +0000 (11:04 +0200)] 
TODO modified

13 years agoMerge remote branch 'origin/getkeys' into unstable
antirez [Tue, 29 Mar 2011 08:54:38 +0000 (10:54 +0200)] 
Merge remote branch 'origin/getkeys' into unstable

13 years agoPreloading messages log level changed from WARNING to DEBUG
antirez [Mon, 28 Mar 2011 17:03:57 +0000 (19:03 +0200)] 
Preloading messages log level changed from WARNING to DEBUG

13 years agofixed a bug in RENAME getKeys() function
antirez [Mon, 28 Mar 2011 16:46:22 +0000 (18:46 +0200)] 
fixed a bug in RENAME getKeys() function

13 years agobug fixed in zunionstore specific getKeys() implementation
antirez [Mon, 28 Mar 2011 16:21:06 +0000 (18:21 +0200)] 
bug fixed in zunionstore specific getKeys() implementation

13 years agoFixes to the new preloading / key discovery APIs
antirez [Mon, 28 Mar 2011 15:54:42 +0000 (17:54 +0200)] 
Fixes to the new preloading / key discovery APIs

13 years agoimplemented preload of EXEC using the new getKeys() system
antirez [Mon, 28 Mar 2011 15:29:26 +0000 (17:29 +0200)] 
implemented preload of EXEC using the new getKeys() system

13 years agoMerge branch 'unstable'
antirez [Wed, 23 Mar 2011 22:13:34 +0000 (23:13 +0100)] 
Merge branch 'unstable'

13 years agominor style change
antirez [Wed, 23 Mar 2011 22:13:15 +0000 (23:13 +0100)] 
minor style change

13 years agonew preloading implemented, still EXEC not handled correctly, everything to test
antirez [Wed, 23 Mar 2011 17:09:17 +0000 (18:09 +0100)] 
new preloading implemented, still EXEC not handled correctly, everything to test

13 years agoFixed sdssplitargs() handling of hex-style escapes.
antirez [Tue, 22 Mar 2011 21:49:12 +0000 (22:49 +0100)] 
Fixed sdssplitargs() handling of hex-style escapes.

13 years agocommand table altered for the new API to get position of keys arguments in commands
antirez [Tue, 22 Mar 2011 18:35:42 +0000 (19:35 +0100)] 
command table altered for the new API to get position of keys arguments in commands

13 years agoTest that sorted sets are removed when empty
Pieter Noordhuis [Tue, 22 Mar 2011 08:28:40 +0000 (09:28 +0100)] 
Test that sorted sets are removed when empty

13 years agoRemove sorted set when empty after ZREMRANGEBY*
Pieter Noordhuis [Mon, 21 Mar 2011 22:54:35 +0000 (23:54 +0100)] 
Remove sorted set when empty after ZREMRANGEBY*

13 years agosdscatrepr() fixed. Now newlines and other special chars are escaped correctly
antirez [Sun, 20 Mar 2011 17:24:49 +0000 (18:24 +0100)] 
sdscatrepr() fixed. Now newlines and other special chars are escaped correctly

13 years agogitignore updated
antirez [Tue, 15 Mar 2011 09:47:04 +0000 (10:47 +0100)] 
gitignore updated

13 years agoFix DEBUG DIGEST, SORT and AOF rewrite
Pieter Noordhuis [Mon, 14 Mar 2011 12:30:06 +0000 (13:30 +0100)] 
Fix DEBUG DIGEST, SORT and AOF rewrite

13 years agoTest both sorted set encodings for every test
Pieter Noordhuis [Mon, 14 Mar 2011 09:50:35 +0000 (10:50 +0100)] 
Test both sorted set encodings for every test

13 years agoOffset should be size_t
Pieter Noordhuis [Sun, 13 Mar 2011 17:15:57 +0000 (18:15 +0100)] 
Offset should be size_t

13 years agoRemove unused function
Pieter Noordhuis [Sat, 12 Mar 2011 13:48:29 +0000 (14:48 +0100)] 
Remove unused function

13 years agoTest for empty inner range when looking for elements in range
Pieter Noordhuis [Fri, 11 Mar 2011 17:17:53 +0000 (18:17 +0100)] 
Test for empty inner range when looking for elements in range

13 years agoMake zzl API unaware of the robj where the ziplist is stored
Pieter Noordhuis [Fri, 11 Mar 2011 16:06:07 +0000 (17:06 +0100)] 
Make zzl API unaware of the robj where the ziplist is stored

13 years agoEncode sorted set after loading from dump
Pieter Noordhuis [Thu, 10 Mar 2011 16:50:13 +0000 (17:50 +0100)] 
Encode sorted set after loading from dump

13 years agoConvert encoding of result when in limits
Pieter Noordhuis [Thu, 10 Mar 2011 16:02:05 +0000 (17:02 +0100)] 
Convert encoding of result when in limits

13 years agoRemove comment
Pieter Noordhuis [Thu, 10 Mar 2011 15:53:20 +0000 (16:53 +0100)] 
Remove comment

13 years agoMerge branch 'unstable'
antirez [Thu, 10 Mar 2011 15:47:09 +0000 (16:47 +0100)] 
Merge branch 'unstable'

13 years agofixed diskstore race condition
antirez [Thu, 10 Mar 2011 15:39:19 +0000 (16:39 +0100)] 
fixed diskstore race condition

13 years agofixed diskstore race condition
antirez [Thu, 10 Mar 2011 15:39:19 +0000 (16:39 +0100)] 
fixed diskstore race condition

13 years agoGeneric iterator code for usage in ZUNIONSTORE/ZINTERSTORE
Pieter Noordhuis [Thu, 10 Mar 2011 15:34:52 +0000 (16:34 +0100)] 
Generic iterator code for usage in ZUNIONSTORE/ZINTERSTORE

13 years agoMake zzlLength take a ziplist argument
Pieter Noordhuis [Thu, 10 Mar 2011 15:17:14 +0000 (16:17 +0100)] 
Make zzlLength take a ziplist argument

13 years agoAdd new string to long long function
Pieter Noordhuis [Thu, 10 Mar 2011 15:16:27 +0000 (16:16 +0100)] 
Add new string to long long function

13 years agoencoding agnostic intsets
antirez [Wed, 9 Mar 2011 18:14:04 +0000 (19:14 +0100)] 
encoding agnostic intsets

13 years agoziplist are now endianess agnostic
antirez [Wed, 9 Mar 2011 17:49:59 +0000 (18:49 +0100)] 
ziplist are now endianess agnostic

13 years agozipmaps are now endianess agnostic, needed for on disk serialization of zipmaps witho...
antirez [Wed, 9 Mar 2011 16:31:02 +0000 (17:31 +0100)] 
zipmaps are now endianess agnostic, needed for on disk serialization of zipmaps without convertions layers

13 years agomemrev variants only doing the work if the target host is big endian
antirez [Wed, 9 Mar 2011 16:28:16 +0000 (17:28 +0100)] 
memrev variants only doing the work if the target host is big endian

13 years agoTODO updated
antirez [Wed, 9 Mar 2011 15:36:02 +0000 (16:36 +0100)] 
TODO updated

13 years agoEhm... sorry if we don't support PDP endianess
antirez [Wed, 9 Mar 2011 15:33:09 +0000 (16:33 +0100)] 
Ehm... sorry if we don't support PDP endianess

13 years agoendianess conversion API, to be applied to specially encoded data types for arch...
antirez [Wed, 9 Mar 2011 15:24:18 +0000 (16:24 +0100)] 
endianess conversion API, to be applied to specially encoded data types for arch agnostic encoding.

13 years agoFix used function in ZCARD
Pieter Noordhuis [Wed, 9 Mar 2011 15:13:39 +0000 (16:13 +0100)] 
Fix used function in ZCARD

13 years agoConvert encoding when thresholds overflow
Pieter Noordhuis [Wed, 9 Mar 2011 15:13:06 +0000 (16:13 +0100)] 
Convert encoding when thresholds overflow

13 years agobyte ordering detection in config.h
antirez [Wed, 9 Mar 2011 14:44:21 +0000 (15:44 +0100)] 
byte ordering detection in config.h

13 years agoConfigurable thresholds for encoded sorted sets
Pieter Noordhuis [Wed, 9 Mar 2011 13:01:57 +0000 (14:01 +0100)] 
Configurable thresholds for encoded sorted sets

13 years agoPersistence code for encoded sorted sets
Pieter Noordhuis [Wed, 9 Mar 2011 12:16:38 +0000 (13:16 +0100)] 
Persistence code for encoded sorted sets

13 years agoSupport dual encoding for more commands
Pieter Noordhuis [Wed, 9 Mar 2011 11:37:59 +0000 (12:37 +0100)] 
Support dual encoding for more commands

13 years agoSupport dual encoding for ZRANGEBYSCORE et al
Pieter Noordhuis [Wed, 9 Mar 2011 10:29:21 +0000 (11:29 +0100)] 
Support dual encoding for ZRANGEBYSCORE et al

13 years agoHelpers to move around in encoded sorted set
Pieter Noordhuis [Wed, 9 Mar 2011 10:06:25 +0000 (11:06 +0100)] 
Helpers to move around in encoded sorted set

13 years agoSupport dual encoding for ZREMRANGEBYRANK
Pieter Noordhuis [Wed, 9 Mar 2011 09:30:55 +0000 (10:30 +0100)] 
Support dual encoding for ZREMRANGEBYRANK

13 years agoSupport dual encoding for ZRANGE
Pieter Noordhuis [Tue, 8 Mar 2011 23:00:19 +0000 (00:00 +0100)] 
Support dual encoding for ZRANGE