459 Commits

Author SHA1 Message Date
antirez
785a743b78 new counter in INFO output: rejected_connections with number of dropped connections because of maxclients limit reached. 2011-11-23 18:38:12 +01:00
antirez
3b2e34345c More fixes in the Redis command table, to make sure all the keys are detected by Redis Cluster. 2011-11-22 14:27:32 +01:00
antirez
c2cbc5954c Fixed command table for SETEX and PSETEX causing the expire time to be hashed by Redis cluster instead of the key. 2011-11-22 10:16:15 +01:00
antirez
5b49eef849 comment describing the Redis command table enhanced 2011-11-22 10:13:45 +01:00
antirez
8dd9319cb2 Close client connection and log the event when the client input buffer reaches 1GB. 2011-11-21 16:17:51 +01:00
antirez
bec0868fe4 Fixed a comment typo in the command table. 2011-11-21 10:55:52 +01:00
antirez
46a712d3b5 prevent (more) commands from Lua scripts 2011-11-18 14:23:38 +01:00
antirez
194a790664 New script timeout semantics and SCRIPT KILL implemented. SHUTDOWN NOSAVE and SHUTDOWN SAVE implemented. 2011-11-18 14:10:48 +01:00
antirez
5ea1e0b446 HINCRBYFLOAT implemented 2011-11-15 15:09:39 +01:00
antirez
8a9c8b9e64 Merge branch 'unstable' into incrbyfloat 2011-11-14 15:59:56 +01:00
antirez
be43c9a854 INCRBYFLOAT implementation 2011-11-12 19:27:35 +01:00
antirez
c93ee2bcad Fixed issues with expire introduced with latest millisecond resolution feature. Many time_t were not converted to long long, and one time() call was not replaced with mstime(). 2011-11-12 01:04:27 +01:00
antirez
bd19e43850 high resolution expires API modified to use separated commands. AOF transation to PEXPIREAT of all the expire-style commands fixed. 2011-11-10 17:52:02 +01:00
antirez
b93074be52 TTL, EXPIRE and EXPIREAT now support the milliseconds input/output form 2011-11-09 18:05:35 +01:00
antirez
9325bbfdc2 added mstime() to get UNIX time in milliseconds. 2011-11-09 00:03:03 +01:00
antirez
d6c3b3004e dict.c API names modified to be more coincise and consistent. 2011-11-08 17:07:55 +01:00
antirez
76d78606c9 1fe4cd5 2011-10-31 11:14:24 +01:00
antirez
b64f417d3c 7c6da73 2011-10-31 11:13:28 +01:00
antirez
9ae9fcaefb 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.
2011-10-31 10:49:27 +01:00
antirez
8febe57772 use the more generic -BUSY error for idle scripts 2011-10-27 20:56:12 +02:00
antirez
2cdb8a7afe 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. 2011-10-27 14:49:10 +02:00
antirez
5e56ae9885 SCRIPT command for introspection and control of the scripting environment. 2011-10-24 22:47:00 +02:00
antirez
70a04c93cb First implementation of the ASKING command. Semantics still to verify. 2011-10-17 17:35:23 +02:00
antirez
0a5ca33f90 Exit with Fatal error at startup if the RDB file signature or version is wrong.
Ref: issue #103
2011-10-14 16:59:38 +02:00
antirez
e34ae21da7 Fix for issue #132. Now AUTH raises an error if no server password is configured. 2011-10-10 22:21:17 +02:00
Salvatore Sanfilippo
d1b6271530 Merge pull request #126 from florean/unstable
Unlink Unix socket file on shutdown
2011-10-10 13:05:16 -07:00
Nathan Florea
d831863640 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).
2011-10-10 11:21:15 -07:00
antirez
cea99297dd Issue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia. 2011-10-10 15:31:55 +02:00
Nathan Florea
e265f4682c Unlink Unix socket file on shutdown 2011-10-09 00:46:03 -07:00
antirez
fd9f590e2f Fixed command table for RESTORE to make it accepting keys only for the right slots when cluster is enabled. 2011-09-29 15:14:06 +02:00
antirez
cd80380f20 Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts 2011-09-27 13:57:10 +02:00
antirez
2c4d7c157d added the NOSCRIPT and RANDOM command flags 2011-09-27 13:45:46 +02:00
antirez
b84f94b1eb command table refactoring to make it simpler adding new flags 2011-09-26 15:40:39 +02:00
Salvatore Sanfilippo
660c6f5e69 Merge pull request #78 from vambo/patch-1
Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan;
2011-09-20 02:00:58 -07:00
Salvatore Sanfilippo
d5df7a7666 Merge pull request #79 from annulen/mac_ppc
Fixed compilation on Mac/PPC
2011-09-20 01:58:55 -07:00
antirez
1fb3f7ad07 Include port number in error when can't bind lisetning port on startup. 2011-09-20 10:48:21 +02:00
antirez
5d02f830e6 postpone the AOF fsync if policy is everysec and there is a background fsync already going. 2011-09-16 12:35:12 +02:00
antirez
20b15f7b28 enable zmalloc thread safety support now that we have the bio.c background thread. 2011-09-14 19:09:48 +02:00
antirez
22538cdf7c Don't replicate/AOF SAVE 2011-09-14 13:09:25 +02:00
antirez
77f6889356 test background close operation removed 2011-09-13 16:57:18 +02:00
antirez
a9f573488e debug message removed 2011-09-13 16:53:33 +02:00
antirez
1e8ec39fa8 add background jobs initialization to Redis main init function 2011-09-13 16:10:26 +02:00
antirez
3bfc640273 added a newline for code readability 2011-09-13 12:21:54 +02:00
Konstantin Tokarev
d4f4db7cd6 Fixed compilation on Mac/PPC
Applied patch from Issue 119 provided by 
pahowes@gmail.com
2011-09-01 22:16:20 +04:00
vambo
5068f417d1 Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan; 2011-08-26 21:40:18 +03:00
antirez
31984e11f7 Auto rewrite integer overflow fixed. Thanks to Gaurav for finding it (see issue 602 on google code), and Pieter Noordhuis for tracing it. 2011-08-09 11:46:18 +02:00
antirez
bc42d57989 Close the listening sockets. Apparently this allows faster restarts. 2011-07-22 12:11:40 +02:00
antirez
433080abda prepareForShutdown() fixed for correctness regarding what to do with AOF and RDB persistence on exit. 2011-07-22 11:52:21 +02:00
antirez
3aa9917e6e Replicate EVALSHA as EVAL taking a dictionary of sha1 -> script source code. 2011-07-13 15:38:03 +02:00
antirez
335b27ecd0 master branch merged into scripting. 2011-07-12 12:39:16 +02:00