]> git.saurik.com Git - redis.git/log
redis.git
13 years ago7c6da73
antirez [Mon, 31 Oct 2011 10:13:28 +0000 (11:13 +0100)] 
7c6da73

13 years agomaxclients configuration is now implemented dealing with the actual process rlimits...
antirez [Mon, 31 Oct 2011 09:48:41 +0000 (10:48 +0100)] 
maxclients configuration is now implemented dealing with the actual process rlimits. Setting maxclients to 0 no longer makes sense and is now invalid, the new default is 10000.
See issue #162 for more information.

13 years agoIt is now possible to disable password authentication via CONFIG SET. Thanks to Jan...
antirez [Mon, 31 Oct 2011 08:57:06 +0000 (09:57 +0100)] 
It is now possible to disable password authentication via CONFIG SET. Thanks to Jan Oberst. This closes issue #171.

13 years agoFixed a memory leak in redis-cli.c
antirez [Fri, 28 Oct 2011 15:43:04 +0000 (17:43 +0200)] 
Fixed a memory leak in redis-cli.c

13 years agosds.c single quotes support
antirez [Fri, 28 Oct 2011 15:31:40 +0000 (17:31 +0200)] 
sds.c single quotes support

13 years agouse the more generic -BUSY error for idle scripts
antirez [Thu, 27 Oct 2011 18:56:12 +0000 (20:56 +0200)] 
use the more generic -BUSY error for idle scripts

13 years agoIf a Lua script executes for more time than the max time specified in the configurati...
antirez [Thu, 27 Oct 2011 12:49:10 +0000 (14:49 +0200)] 
If a Lua script executes for more time than the max time specified in the configuration Redis will log a warning, and will start accepting queries (re-entering the event loop), returning -SLOWSCRIPT error for all the commands but SHUTDOWN that remains callable.

13 years agoSet errno to 0 before calling strtol.
Nathan Florea [Fri, 21 Oct 2011 01:20:58 +0000 (18:20 -0700)] 
Set errno to 0 before calling strtol.

13 years agoClear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue...
antirez [Wed, 26 Oct 2011 10:53:30 +0000 (12:53 +0200)] 
Clear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue #161, probably fixing 159 as well.

13 years agoDon't timeout scripts if the instance is a slave.
antirez [Tue, 25 Oct 2011 17:54:10 +0000 (19:54 +0200)] 
Don't timeout scripts if the instance is a slave.

13 years agoSCRIPT LOAD now returns the SHA1 instead of +OK
antirez [Tue, 25 Oct 2011 12:46:15 +0000 (14:46 +0200)] 
SCRIPT LOAD now returns the SHA1 instead of +OK

13 years agoLau scripts default max execution time set to 5 seconds.
antirez [Tue, 25 Oct 2011 10:10:15 +0000 (12:10 +0200)] 
Lau scripts default max execution time set to 5 seconds.

13 years agoFixes for the scripting refactoring and new commands. Tests for the new features.
antirez [Tue, 25 Oct 2011 09:19:15 +0000 (11:19 +0200)] 
Fixes for the scripting refactoring and new commands. Tests for the new features.

13 years agoSCRIPT LOAD implemented, scripting eval command refactoring.
antirez [Tue, 25 Oct 2011 08:25:59 +0000 (10:25 +0200)] 
SCRIPT LOAD implemented, scripting eval command refactoring.

13 years agoSCRIPT command for introspection and control of the scripting environment.
antirez [Mon, 24 Oct 2011 20:47:00 +0000 (22:47 +0200)] 
SCRIPT command for introspection and control of the scripting environment.

13 years agoBetter installation info inside README file.
antirez [Sun, 23 Oct 2011 10:28:31 +0000 (12:28 +0200)] 
Better installation info inside README file.

13 years agoremoved a few entries for gitignore
antirez [Sun, 23 Oct 2011 10:16:07 +0000 (12:16 +0200)] 
removed a few entries for gitignore

13 years agoFixed a few warnings compiling on Linux.
antirez [Sun, 23 Oct 2011 08:57:01 +0000 (10:57 +0200)] 
Fixed a few warnings compiling on Linux.

13 years agoA past commit removed the inclusion of redis.h from rdb.c, completely breaking 32...
antirez [Sun, 23 Oct 2011 08:42:16 +0000 (10:42 +0200)] 
A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32 bit builds under Linux.

13 years agoRedis.call is now split into two variants of the same function. Redis.call will raise...
antirez [Thu, 20 Oct 2011 14:02:23 +0000 (16:02 +0200)] 
Redis.call is now split into two variants of the same function. Redis.call will raise an error by default. Redis.pcall will return the error object instead.

13 years agoMerge branch 'unstable' of github.com:/antirez/redis into unstable
antirez [Thu, 20 Oct 2011 09:18:10 +0000 (11:18 +0200)] 
Merge branch 'unstable' of github.com:/antirez/redis into unstable

13 years agouse signalModifiedKey to set the key as dirty in the context of WATCH for both MIGRAT...
antirez [Thu, 20 Oct 2011 09:17:30 +0000 (11:17 +0200)] 
use signalModifiedKey to set the key as dirty in the context of WATCH for both MIGRATE and RESTORE.

13 years agoMerge pull request #147 from janoberst/unstable
Salvatore Sanfilippo [Thu, 20 Oct 2011 07:53:22 +0000 (00:53 -0700)] 
Merge pull request #147 from janoberst/unstable

Cleaned up redis root directory a tiny bit and changed links to github issues

13 years agoLua cjson include paths now use the local includes.
antirez [Wed, 19 Oct 2011 14:57:54 +0000 (16:57 +0200)] 
Lua cjson include paths now use the local includes.

13 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Wed, 19 Oct 2011 14:42:35 +0000 (16:42 +0200)] 
Merge remote-tracking branch 'origin/unstable' into unstable

13 years agoJSON support for Lua scripting, based on work from @lp, thanks!. We are using the...
antirez [Wed, 19 Oct 2011 14:42:10 +0000 (16:42 +0200)] 
JSON support for Lua scripting, based on work from @lp, thanks!. We are using the good and fast cjson by Mark Pulford.

13 years agoSwitched issues URL to Github in BUGS
Jan Oberst [Tue, 18 Oct 2011 18:28:23 +0000 (14:28 -0400)] 
Switched issues URL to Github in BUGS

13 years agoActually let's just cpy over the README from stable. Missed the updated version there.
Jan Oberst [Tue, 18 Oct 2011 18:28:07 +0000 (14:28 -0400)] 
Actually let's just cpy over the README from stable. Missed the updated version there.

13 years agoCleaned up redis root directory and changed links for redis.io and github issues...
Jan Oberst [Tue, 18 Oct 2011 18:14:16 +0000 (14:14 -0400)] 
Cleaned up redis root directory and changed links for redis.io and github issues and pull requests

13 years agoMerge pull request #146 from smly/fixed-redis-check-dump
Salvatore Sanfilippo [Tue, 18 Oct 2011 12:13:25 +0000 (05:13 -0700)] 
Merge pull request #146 from smly/fixed-redis-check-dump

Memory leak in redis-check-dump

13 years agoFixed a small memory leak I found with valgrind
smly [Tue, 18 Oct 2011 11:18:26 +0000 (20:18 +0900)] 
Fixed a small memory leak I found with valgrind

13 years agoReturn from syncWithMaster() ASAP if the event fired but the instance is no longer...
antirez [Tue, 18 Oct 2011 09:09:32 +0000 (11:09 +0200)] 
Return from syncWithMaster() ASAP if the event fired but the instance is no longer a slave. This should fix Issue #145.

13 years agoFirst implementation of the ASKING command. Semantics still to verify.
antirez [Mon, 17 Oct 2011 15:35:23 +0000 (17:35 +0200)] 
First implementation of the ASKING command. Semantics still to verify.

13 years agoMIGRATE +NOKEY error was missing the final CRLF causing a protocol error.
antirez [Mon, 17 Oct 2011 14:44:08 +0000 (16:44 +0200)] 
MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.

13 years agoFixed a typo causing segfault on MIGRATE
antirez [Mon, 17 Oct 2011 14:39:05 +0000 (16:39 +0200)] 
Fixed a typo causing segfault on MIGRATE

13 years agoRegression test for issue #142 added
antirez [Mon, 17 Oct 2011 08:40:11 +0000 (10:40 +0200)] 
Regression test for issue #142 added

13 years agoFLUSHALL now prevents rdbSave() from resetting the dirty counter, so that the command...
antirez [Mon, 17 Oct 2011 08:28:57 +0000 (10:28 +0200)] 
FLUSHALL now prevents rdbSave() from resetting the dirty counter, so that the command will get replicated and put inside the AOF. This fixes issue #142

13 years agoFLUSHALL will only perform a blocking SAVE if RDB persistence is configured.
antirez [Mon, 17 Oct 2011 08:25:35 +0000 (10:25 +0200)] 
FLUSHALL will only perform a blocking SAVE if RDB persistence is configured.

13 years agoExit with Fatal error at startup if the RDB file signature or version is wrong.
antirez [Fri, 14 Oct 2011 14:59:32 +0000 (16:59 +0200)] 
Exit with Fatal error at startup if the RDB file signature or version is wrong.
Ref: issue #103

13 years agoredis-check-dump: RDB version 2 now supported.
antirez [Fri, 14 Oct 2011 14:52:11 +0000 (16:52 +0200)] 
redis-check-dump: RDB version 2 now supported.

13 years agoMore informative error when DEBUG RELOAD fails.
antirez [Fri, 14 Oct 2011 12:30:41 +0000 (14:30 +0200)] 
More informative error when DEBUG RELOAD fails.

13 years agoredis-trib: fix for a slot allocation bug.
antirez [Thu, 13 Oct 2011 13:16:03 +0000 (15:16 +0200)] 
redis-trib: fix for a slot allocation bug.

13 years agosmall comment added
antirez [Thu, 13 Oct 2011 12:51:29 +0000 (14:51 +0200)] 
small comment added

13 years agoFix for issue #132. Now AUTH raises an error if no server password is configured.
antirez [Mon, 10 Oct 2011 20:21:17 +0000 (22:21 +0200)] 
Fix for issue #132. Now AUTH raises an error if no server password is configured.

13 years agoMerge pull request #126 from florean/unstable
Salvatore Sanfilippo [Mon, 10 Oct 2011 20:05:16 +0000 (13:05 -0700)] 
Merge pull request #126 from florean/unstable

Unlink Unix socket file on shutdown

13 years agoAdded a config directive for a Unix socket mask
Nathan Florea [Mon, 10 Oct 2011 18:21:15 +0000 (11:21 -0700)] 
Added a config directive for a Unix socket mask

Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file.  I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85).

13 years agoIssue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia.
antirez [Mon, 10 Oct 2011 13:29:36 +0000 (15:29 +0200)] 
Issue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia.

13 years agoFix for bug #128 about the RENAME command.
antirez [Mon, 10 Oct 2011 13:21:19 +0000 (15:21 +0200)] 
Fix for bug #128 about the RENAME command.

13 years agoAdded two new tests for RENAME, currently both will fail because of bug #128.
antirez [Mon, 10 Oct 2011 10:01:13 +0000 (12:01 +0200)] 
Added two new tests for RENAME, currently both will fail because of bug #128.

13 years agoUnlink Unix socket file on shutdown
Nathan Florea [Sun, 9 Oct 2011 07:46:03 +0000 (00:46 -0700)] 
Unlink Unix socket file on shutdown

13 years agonot used parameter for redisLog() removed. Error message grammar fixed.
antirez [Sat, 8 Oct 2011 08:58:57 +0000 (10:58 +0200)] 
not used parameter for redisLog() removed. Error message grammar fixed.
Thanks to @ardsrk.

13 years agoRedis Cluster: process node to node CLUSTERMSG_TYPE_PUBLISH messages and send it...
antirez [Fri, 7 Oct 2011 14:34:16 +0000 (16:34 +0200)] 
Redis Cluster: process node to node CLUSTERMSG_TYPE_PUBLISH messages and send it to the local clients.

13 years agopropagate PUBLISH messages using the redis cluster nodes bus. Still need to process...
antirez [Fri, 7 Oct 2011 13:37:34 +0000 (15:37 +0200)] 
propagate PUBLISH messages using the redis cluster nodes bus. Still need to process the incoming packets of that type. Work in progress.

13 years agoTotally hackish and dirty, but working, support for Redis Cluster in redis-cli
antirez [Wed, 5 Oct 2011 17:55:33 +0000 (19:55 +0200)] 
Totally hackish and dirty, but working, support for Redis Cluster in redis-cli

13 years agoA node can populate a slot if a message from a trusted slot is received claiming...
antirez [Wed, 5 Oct 2011 15:40:02 +0000 (17:40 +0200)] 
A node can populate a slot if a message from a trusted slot is received claiming ownership of this slot, that is currently empty or served by a node in FAIL state. However this feature was broken since calling clusterAddSlot() was not enough as the slot bit is already set in the node that pong us. We need to directly alter the table. This commit fixes the issue.

13 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Wed, 5 Oct 2011 14:08:54 +0000 (16:08 +0200)] 
Merge remote-tracking branch 'origin/unstable' into unstable

13 years agoCONFIG SET/GET support for loglevel
antirez [Wed, 5 Oct 2011 14:08:35 +0000 (16:08 +0200)] 
CONFIG SET/GET support for loglevel

13 years agojust minor aesthetic changes to cluster.c
antirez [Wed, 5 Oct 2011 14:02:45 +0000 (16:02 +0200)] 
just minor aesthetic changes to cluster.c

13 years agoMerge pull request #118 from dvirsky/unstable
Salvatore Sanfilippo [Wed, 5 Oct 2011 10:49:52 +0000 (03:49 -0700)] 
Merge pull request #118 from dvirsky/unstable

fixes to install scripts

13 years agoreplaced redisAssert() with redisAssertWithInfo() in a shitload of places.
antirez [Tue, 4 Oct 2011 16:43:03 +0000 (18:43 +0200)] 
replaced redisAssert() with redisAssertWithInfo() in a shitload of places.

13 years agoredisAssertWithClientInfo() is now redisAssertWithInfo() that is also able to report...
antirez [Tue, 4 Oct 2011 16:05:26 +0000 (18:05 +0200)] 
redisAssertWithClientInfo() is now redisAssertWithInfo() that is also able to report an optional object. The client is also optional. Specifying NULL will prevent dumping the not available information (either client or object).

13 years agoIntroduced a redisAssert() variant that is able to show information about the client...
antirez [Tue, 4 Oct 2011 15:22:29 +0000 (17:22 +0200)] 
Introduced a redisAssert() variant that is able to show information about the client in the context where the failed assertion was detected.

13 years agofixes to install script
dvir volk [Tue, 4 Oct 2011 14:58:55 +0000 (16:58 +0200)] 
fixes to install script

13 years agoredis-trib: create subcommand fixed calling node info loading method. Was needed...
antirez [Tue, 4 Oct 2011 13:53:07 +0000 (15:53 +0200)] 
redis-trib: create subcommand fixed calling node info loading method. Was needed after recent refactoring.

13 years agoRedis test ports selection made more robust. This prevents the test from hanging...
antirez [Tue, 4 Oct 2011 08:05:21 +0000 (10:05 +0200)] 
Redis test ports selection made more robust. This prevents the test from hanging if an already bound port is selected but the TCP server listening to it does not cause a protocol error with a Redis client PING. Also base port moved away from the range near to the Redis Cluster gossip ports.

13 years agoRevert "Use the new install script as make install target. Message about install...
antirez [Mon, 3 Oct 2011 14:04:44 +0000 (16:04 +0200)] 
Revert "Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident."
After talking with Pieter he changed my mind about this, it is better to
have a simpler install script that works everywhere, and the complex one
can be always executed if needed by hand. We'll make possibly a new
target for the full featured installation script, and even suggest it
after a Make install.

This reverts commit f1e60d75309990b25a1763e004d7044c77c53834.

13 years agoRewrite MIGRATE as DEL for AOF/replication. Also increment the dirty counter to both...
antirez [Mon, 3 Oct 2011 13:51:10 +0000 (15:51 +0200)] 
Rewrite MIGRATE as DEL for AOF/replication. Also increment the dirty counter to both force replication and persistence.

13 years agoincrement server.dirty in restore command to make sure it is replicated and increment...
antirez [Mon, 3 Oct 2011 13:45:14 +0000 (15:45 +0200)] 
increment server.dirty in restore command to make sure it is replicated and increments the dirty count for persistence concerns.

13 years agoMerge pull request #114 from pietern/unstable-zcount
Salvatore Sanfilippo [Mon, 3 Oct 2011 13:20:23 +0000 (06:20 -0700)] 
Merge pull request #114 from pietern/unstable-zcount

Use rank information to compute ZCOUNT

13 years agoRemove ZCOUNT branches from generic RANGEBYSCORE code
Pieter Noordhuis [Mon, 3 Oct 2011 12:23:31 +0000 (14:23 +0200)] 
Remove ZCOUNT branches from generic RANGEBYSCORE code

13 years agoUse element rank instead of iterating in ZCOUNT
Pieter Noordhuis [Mon, 3 Oct 2011 12:14:43 +0000 (14:14 +0200)] 
Use element rank instead of iterating in ZCOUNT

13 years agoUse the new install script as make install target. Message about install script requi...
antirez [Mon, 3 Oct 2011 11:28:54 +0000 (13:28 +0200)] 
Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident.

13 years agochanged license to gpl BSD. LOL
dvir volk [Mon, 3 Oct 2011 09:35:30 +0000 (11:35 +0200)] 
changed license to gpl BSD. LOL

13 years agochanged license to gpl v3
dvir volk [Mon, 3 Oct 2011 09:29:01 +0000 (11:29 +0200)] 
changed license to gpl v3

13 years agofixes to install script and template
dvir volk [Mon, 3 Oct 2011 08:58:43 +0000 (10:58 +0200)] 
fixes to install script and template

13 years agoAdded installer and config template renderer
dvir volk [Mon, 3 Oct 2011 08:48:07 +0000 (10:48 +0200)] 
Added installer and config template renderer

13 years agoExact variant of CRC16 specified into crc16.c
antirez [Sun, 2 Oct 2011 12:05:29 +0000 (14:05 +0200)] 
Exact variant of CRC16 specified into crc16.c

13 years agowhen processing gossip packets make sure to also update the node bitmap when associat...
antirez [Sat, 1 Oct 2011 13:11:07 +0000 (15:11 +0200)] 
when processing gossip packets make sure to also update the node bitmap when associating slots to nodes. Fixed simply using the appropriate helper function to add a slot.

13 years agofixed a few problems with redis-trib resharding.
antirez [Fri, 30 Sep 2011 23:31:46 +0000 (01:31 +0200)] 
fixed a few problems with redis-trib resharding.

13 years agoredis-trib: initial working implementation of cluster rehashing, more work needed...
antirez [Fri, 30 Sep 2011 20:18:07 +0000 (22:18 +0200)] 
redis-trib: initial working implementation of cluster rehashing, more work needed to make it more correct, more reliable.

13 years agoFixed two bugs in the CLUSTER SETSLOT ... NODE subcommand
antirez [Fri, 30 Sep 2011 20:17:24 +0000 (22:17 +0200)] 
Fixed two bugs in the CLUSTER SETSLOT ... NODE subcommand

13 years agoredis-trib: actual slot migration work in progress, more work needed.
antirez [Fri, 30 Sep 2011 17:21:36 +0000 (19:21 +0200)] 
redis-trib: actual slot migration work in progress, more work needed.

13 years agoClear the importing status from the slot if a CLUSTER SETSLOT command permanently...
antirez [Fri, 30 Sep 2011 17:20:56 +0000 (19:20 +0200)] 
Clear the importing status from the slot if a CLUSTER SETSLOT command permanently assigns the slot to the importing node.

13 years agoredis-trib: better slots allocation strategy for resharding
antirez [Fri, 30 Sep 2011 16:41:25 +0000 (18:41 +0200)] 
redis-trib: better slots allocation strategy for resharding

13 years agoredis-trib: initial slots allocation strategy, still to improve for better balancing...
antirez [Fri, 30 Sep 2011 16:28:51 +0000 (18:28 +0200)] 
redis-trib: initial slots allocation strategy, still to improve for better balancing when there are just a few slots to move.

13 years agoredis-trib: reshard command work in progress
antirez [Thu, 29 Sep 2011 14:06:49 +0000 (16:06 +0200)] 
redis-trib: reshard command work in progress

13 years agoredis-trib: minor refactoring creating a method to load the cluster information start...
antirez [Thu, 29 Sep 2011 13:45:10 +0000 (15:45 +0200)] 
redis-trib: minor refactoring creating a method to load the cluster information starting from a single node

13 years agoredis-trib: don't crash loading node info for nodes without assigned slots
antirez [Thu, 29 Sep 2011 13:31:02 +0000 (15:31 +0200)] 
redis-trib: don't crash loading node info for nodes without assigned slots

13 years agoadded comment about SETSLOT NODE form.
antirez [Thu, 29 Sep 2011 13:26:01 +0000 (15:26 +0200)] 
added comment about SETSLOT NODE form.

13 years agoFixed command table for RESTORE to make it accepting keys only for the right slots...
antirez [Thu, 29 Sep 2011 13:14:06 +0000 (15:14 +0200)] 
Fixed command table for RESTORE to make it accepting keys only for the right slots when cluster is enabled.

13 years agoredis-trib: added cluster state to node info string
antirez [Thu, 29 Sep 2011 13:04:23 +0000 (15:04 +0200)] 
redis-trib: added cluster state to node info string

13 years agoredis-trib: all node information into a single hash
antirez [Thu, 29 Sep 2011 12:44:15 +0000 (14:44 +0200)] 
redis-trib: all node information into a single hash

13 years agoredis-trib: when loading node info also fetch the output of CLUSTER INFO.
antirez [Thu, 29 Sep 2011 11:18:09 +0000 (13:18 +0200)] 
redis-trib: when loading node info also fetch the output of CLUSTER INFO.

13 years agoredis-trib cluster check command: check that all the 4096 slots are covered
antirez [Thu, 29 Sep 2011 10:50:46 +0000 (12:50 +0200)] 
redis-trib cluster check command: check that all the 4096 slots are covered

13 years agoCompilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h
antirez [Thu, 29 Sep 2011 08:20:03 +0000 (10:20 +0200)] 
Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h

13 years agoinitial node loading info code for redis-trib
antirez [Wed, 28 Sep 2011 17:08:35 +0000 (19:08 +0200)] 
initial node loading info code for redis-trib

13 years agoshow node with myself flag always as connected in CLUSTER NODES output.
antirez [Wed, 28 Sep 2011 16:28:36 +0000 (18:28 +0200)] 
show node with myself flag always as connected in CLUSTER NODES output.

13 years agocluster config file entries added to the example configuration file
antirez [Wed, 28 Sep 2011 13:55:52 +0000 (15:55 +0200)] 
cluster config file entries added to the example configuration file

13 years agoScripting engine now only loads selected libraries, using code originally contributed...
antirez [Tue, 27 Sep 2011 16:46:23 +0000 (18:46 +0200)] 
Scripting engine now only loads selected libraries, using code originally contributed by @loopole.

13 years agoa few entries removed from the old TODO list (done)
antirez [Tue, 27 Sep 2011 14:07:38 +0000 (16:07 +0200)] 
a few entries removed from the old TODO list (done)