]> git.saurik.com Git - redis.git/log
redis.git
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 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 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 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 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 agofixed diskstore race condition
antirez [Thu, 10 Mar 2011 15:39:19 +0000 (16:39 +0100)] 
fixed diskstore race condition

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 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 agoremoved useless call
antirez [Tue, 8 Mar 2011 15:52:39 +0000 (16:52 +0100)] 
removed useless call

13 years agosame final call of two if branches moved outside
antirez [Tue, 8 Mar 2011 14:55:34 +0000 (15:55 +0100)] 
same final call of two if branches moved outside

13 years agouseless function removed
antirez [Tue, 8 Mar 2011 14:10:20 +0000 (15:10 +0100)] 
useless function removed

13 years agocomment typo fixed
antirez [Tue, 8 Mar 2011 14:03:51 +0000 (15:03 +0100)] 
comment typo fixed

13 years agoMerge remote branch 'pietern/unstable-sigs' into unstable
antirez [Mon, 7 Mar 2011 11:22:00 +0000 (12:22 +0100)] 
Merge remote branch 'pietern/unstable-sigs' into unstable

13 years agoShow database number in cli prompt when non-zero
Pieter Noordhuis [Sun, 6 Mar 2011 20:14:40 +0000 (21:14 +0100)] 
Show database number in cli prompt when non-zero

13 years agoStore SELECTed database for reconnect (issue #468)
Pieter Noordhuis [Sun, 6 Mar 2011 19:46:40 +0000 (20:46 +0100)] 
Store SELECTed database for reconnect (issue #468)

13 years agoMinor memory leak in redis-cli (issue #464)
Pieter Noordhuis [Sun, 6 Mar 2011 19:13:01 +0000 (20:13 +0100)] 
Minor memory leak in redis-cli (issue #464)

13 years agoOnly save history when stdin is a tty (issue #465)
Pieter Noordhuis [Sun, 6 Mar 2011 19:00:08 +0000 (20:00 +0100)] 
Only save history when stdin is a tty (issue #465)

13 years agoSave RDB on SIGTERM (see issue #471)
Pieter Noordhuis [Sun, 6 Mar 2011 16:49:22 +0000 (17:49 +0100)] 
Save RDB on SIGTERM (see issue #471)

13 years agopossible fix for a failed assertion introduced with the latest diskstore speedup fix
antirez [Fri, 4 Mar 2011 17:10:43 +0000 (18:10 +0100)] 
possible fix for a failed assertion introduced with the latest diskstore speedup fix

13 years agoFixed return value of GETRANGE / SUBSTR
antirez [Fri, 4 Mar 2011 15:22:50 +0000 (16:22 +0100)] 
Fixed return value of GETRANGE / SUBSTR

13 years agoAOF file descriptor leak fixed
antirez [Fri, 4 Mar 2011 15:13:54 +0000 (16:13 +0100)] 
AOF file descriptor leak fixed

13 years agoTTL command fixed to work reliably with diskstore
antirez [Fri, 4 Mar 2011 14:49:01 +0000 (15:49 +0100)] 
TTL command fixed to work reliably with diskstore

13 years agodebugging message moved from REDIS_WARING to REDIS_DEBUG
antirez [Fri, 4 Mar 2011 14:45:38 +0000 (15:45 +0100)] 
debugging message moved from REDIS_WARING to REDIS_DEBUG

13 years agoRedis manifesto added
antirez [Tue, 1 Mar 2011 14:20:35 +0000 (15:20 +0100)] 
Redis manifesto added

13 years agofix type in rdbSaveKeyValuePair() when saving an intset. Don't merge this commit...
antirez [Mon, 28 Feb 2011 16:55:05 +0000 (17:55 +0100)] 
fix type in rdbSaveKeyValuePair() when saving an intset. Don't merge this commit into 2.2 as will not apply cleanly.

13 years agodirect saving of specially encoded types implemented for lists and sets too
antirez [Mon, 28 Feb 2011 16:53:47 +0000 (17:53 +0100)] 
direct saving of specially encoded types implemented for lists and sets too

13 years agodefine name typo fixed
antirez [Mon, 28 Feb 2011 16:36:12 +0000 (17:36 +0100)] 
define name typo fixed

13 years agoadded new RDB codes for ziplist encoded lists and intset encodeed sets
antirez [Mon, 28 Feb 2011 16:06:31 +0000 (17:06 +0100)] 
added new RDB codes for ziplist encoded lists and intset encodeed sets

13 years agosave ziplist encoded type as a different type id. Done as separated commit since...
antirez [Mon, 28 Feb 2011 16:06:09 +0000 (17:06 +0100)] 
save ziplist encoded type as a different type id. Done as separated commit since this is the part that will not merge cleanly in 2.2

13 years agoconvert the zipmap into hash in rdb loading if the zipmap has too many elements
antirez [Mon, 28 Feb 2011 15:55:34 +0000 (16:55 +0100)] 
convert the zipmap into hash in rdb loading if the zipmap has too many elements

13 years agoRDB/AOF loading times logged with millisecond precision
antirez [Mon, 28 Feb 2011 14:31:54 +0000 (15:31 +0100)] 
RDB/AOF loading times logged with millisecond precision

13 years agofix for zipmap raw saving in unstable branch
antirez [Mon, 28 Feb 2011 14:13:49 +0000 (15:13 +0100)] 
fix for zipmap raw saving in unstable branch

13 years agoencoded types API to get blob length
antirez [Mon, 28 Feb 2011 13:48:49 +0000 (14:48 +0100)] 
encoded types API to get blob length

13 years agosave zipmap encoded hashes as blobs. Work in progress.
antirez [Mon, 28 Feb 2011 08:56:48 +0000 (09:56 +0100)] 
save zipmap encoded hashes as blobs. Work in progress.

13 years agoless delays in diskstore when there are many writes. more work to do.
antirez [Fri, 25 Feb 2011 18:11:25 +0000 (19:11 +0100)] 
less delays in diskstore when there are many writes. more work to do.

13 years agomore disk store fields in INFO
antirez [Fri, 25 Feb 2011 09:59:57 +0000 (10:59 +0100)] 
more disk store fields in INFO

13 years agoRestore argc/argv in EXEC after command is executed
Pieter Noordhuis [Wed, 23 Feb 2011 08:39:29 +0000 (09:39 +0100)] 
Restore argc/argv in EXEC after command is executed

13 years agofixed client-libraries/README to reflect the new site path instead of google code
antirez [Tue, 22 Feb 2011 17:22:00 +0000 (18:22 +0100)] 
fixed client-libraries/README to reflect the new site path instead of google code

13 years agolinenoise updated
antirez [Tue, 22 Feb 2011 16:40:33 +0000 (17:40 +0100)] 
linenoise updated

13 years agofixed color support for test suite. Now colors are shown as long as there is xterm...
antirez [Tue, 22 Feb 2011 15:40:24 +0000 (16:40 +0100)] 
fixed color support for test suite. Now colors are shown as long as there is xterm somewhere inside the TERM env var

13 years agoAllow port to be 0 in configuration, in order to allow disabling of TCP.
Paul Gideon Dann [Tue, 22 Feb 2011 10:49:17 +0000 (10:49 +0000)] 
Allow port to be 0 in configuration, in order to allow disabling of TCP.

13 years agoconflict resolved in cherry pick
antirez [Mon, 21 Feb 2011 23:03:03 +0000 (00:03 +0100)] 
conflict resolved in cherry pick

13 years agosuppress a Linux warning, for 2.2 sake
antirez [Mon, 21 Feb 2011 16:50:54 +0000 (17:50 +0100)] 
suppress a Linux warning, for 2.2 sake

13 years agocheck return value of getcwd()
antirez [Mon, 21 Feb 2011 16:41:25 +0000 (17:41 +0100)] 
check return value of getcwd()

13 years agoCONFIG SET/GET for all the special encoding parameters of sets, lists, hashes
antirez [Thu, 17 Feb 2011 11:20:59 +0000 (12:20 +0100)] 
CONFIG SET/GET for all the special encoding parameters of sets, lists, hashes

13 years agoSPOP replication/AOF patch ported to unstable branch
antirez [Wed, 16 Feb 2011 11:41:40 +0000 (12:41 +0100)] 
SPOP replication/AOF patch ported to unstable branch

13 years agoCONFIG GET/SET dir implemented
antirez [Mon, 14 Feb 2011 01:51:27 +0000 (02:51 +0100)] 
CONFIG GET/SET dir implemented

13 years agofixed two diskstore issues, a quasi-deadlock creating problems with I/O speed and...
antirez [Fri, 11 Feb 2011 10:16:15 +0000 (11:16 +0100)] 
fixed two diskstore issues, a quasi-deadlock creating problems with I/O speed and a race condition among threads

13 years agointroduced a new logging function for big messages
antirez [Wed, 9 Feb 2011 09:10:35 +0000 (10:10 +0100)] 
introduced a new logging function for big messages

13 years agoMerge remote branch 'pietern/unstable-brpoplpush' into unstable
antirez [Mon, 7 Feb 2011 14:28:01 +0000 (15:28 +0100)] 
Merge remote branch 'pietern/unstable-brpoplpush' into unstable

13 years agoFix for the previous port 0 patch, thanks to Pieter for noticing the error
antirez [Mon, 7 Feb 2011 12:43:29 +0000 (13:43 +0100)] 
Fix for the previous port 0 patch, thanks to Pieter for noticing the error

13 years agoIf port zero is specified, Redis will not listen for TCP connections
antirez [Mon, 7 Feb 2011 11:52:01 +0000 (12:52 +0100)] 
If port zero is specified, Redis will not listen for TCP connections

13 years agoClarify comment
Pieter Noordhuis [Mon, 31 Jan 2011 15:50:17 +0000 (16:50 +0100)] 
Clarify comment

13 years agoReply with single null bulk for unsuccesful BRPOPLPUSH
Pieter Noordhuis [Mon, 31 Jan 2011 15:49:56 +0000 (16:49 +0100)] 
Reply with single null bulk for unsuccesful BRPOPLPUSH

13 years agopropagate key eviction to slaves and AOF, like for expires, so that replicas and...
antirez [Thu, 27 Jan 2011 15:52:37 +0000 (16:52 +0100)] 
propagate key eviction to slaves and AOF, like for expires, so that replicas and AOFs are always consistent even in maxmemory mode.

13 years agoFixed a theoretical non exploitable security bug reported by @chrisrohlf. In theory...
antirez [Thu, 27 Jan 2011 09:27:25 +0000 (10:27 +0100)] 
Fixed a theoretical non exploitable security bug reported by @chrisrohlf. In theory if we undefine SDS_ABORT_ON_OOM from sds.c AND modify zmalloc.c in order to don't quit on out of memory (but this would break every other part of Redis), on out of memory there is a possible heap overflow.

13 years agoTODO list updated
antirez [Wed, 26 Jan 2011 09:42:32 +0000 (10:42 +0100)] 
TODO list updated

13 years agoINFO commandstats section reset with config resetstat, a new microseconds per call...
antirez [Mon, 24 Jan 2011 09:56:06 +0000 (10:56 +0100)] 
INFO commandstats section reset with config resetstat, a new microseconds per call field, and a few other minor things

13 years agoportability fix in redis benchmark, using zu format specified with size_t instead...
antirez [Mon, 24 Jan 2011 09:05:42 +0000 (10:05 +0100)] 
portability fix in redis benchmark, using zu format specified with size_t instead of lu

13 years agoNow INFO outputs the "INFO default" output if no argument is passed. Also added count...
antirez [Sun, 23 Jan 2011 21:14:15 +0000 (22:14 +0100)] 
Now INFO outputs the "INFO default" output if no argument is passed. Also added counts of calls for every command, thanks to an idea by Mike Shaver

13 years agoINFO output refactoring. Now "INFO section" will report only the specified section
antirez [Sun, 23 Jan 2011 15:41:07 +0000 (16:41 +0100)] 
INFO output refactoring. Now "INFO section" will report only the specified section