Commit Graph

577 Commits

Author SHA1 Message Date
00a90feb0b Fix bug where the client is not present in server.clients when free'ing it
When creating the readable event results in an error (this happens when
the server hits OS limits), the client was not added to the list of
clients when freeClient was called. This results in an assertion error.
It is better to check this condition first and free the client
immediately when this condition occurs.
2010-09-07 10:24:50 +02:00
aaed0894cc Redis version is now 2.0.0 2010-09-03 12:08:03 +02:00
4f4e0f1cdd Merge remote branch 'pietern/2.0.0-bpop' into 2.0.0 2010-09-03 11:55:36 +02:00
47ae4b6a17 Verify that the blocking pop timeout value is a non-negative integer
Backport of 94364d5 to 2.0.0.
2010-09-03 11:53:53 +02:00
db7633e888 Redis version is now 1.3.18 (2.0.0 RC5) 2010-09-03 11:53:52 +02:00
a3267b8084 Fixed another instace of the Issue 173 (backported from master) 2010-09-03 11:45:32 +02:00
29a8c8d20b fix for the above fix 2010-09-03 11:44:05 +02:00
7caf0591a7 Fix for bug 312 (VM bug) backported from master 2010-09-03 11:43:06 +02:00
eaaf62f6a4 Fix for a race in BGSAVE that may result in some data not being saved as soon as possible (when the configured saving triggers should fire). Also known as Issue 313, more details there in the google code issue. (backported from master) 2010-09-03 11:38:23 +02:00
efc8a6beee BLPOP inside MULTI/EXEC block no longer crashes, instead if the list is empty the behavior is like if the timeout is reached. This fixes Issue 285 (backported from master) 2010-09-03 11:30:26 +02:00
f8fa3e2833 Fix for issue 237 backported from master 2010-09-03 11:17:50 +02:00
dda93651f7 slave now detect lost connection during SYNC, fixing Issue 173 2010-08-24 16:27:40 +02:00
3a1ab86a35 Change getDoubleFromObject to fail on NaN.
Return an error when the resulting value is not a number (NaN). Fix
ZUNIONSTORE/ZINTERSTORE to clean up when a weight argument is not a
double value. Backport of 673e1fb7 to 2.0.0.
2010-07-29 23:10:53 +02:00
c6375e6a60 Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.
When +inf and -inf are added, the result is NaN. We don't want NaN
scores in a sorted set, so agreed on the result of this operation being
zero. Backport of d9e28bcf to 2.0.0.
2010-07-29 23:08:28 +02:00
655f79a933 Verison is now 1.3.17, that is 2.0.0 RC4 2010-07-29 13:15:31 +02:00
ac10524377 ZINTERSTORE replication bug fix backported to 2.0.0 2010-07-29 13:15:19 +02:00
30a7f9b387 Merge remote branch 'pietern/zfixes-2.0.0' into 2.0.0 2010-07-24 09:20:12 +02:00
fe2173ae53 don't open/close log file if log level is not matched 2010-07-22 23:29:07 +02:00
de4aebe9fd fixed a typo preventing compilation 2010-07-22 16:18:28 +02:00
c9c7ecad96 version is now 1.3.16 2010-07-22 16:17:19 +02:00
dc44326f7a recent VM fixes backported to 2.0.0 branch 2010-07-22 16:16:11 +02:00
d8f25ce3ac fix rare condition where 'key' would already be destroyed while is was needed later on 2010-07-22 15:55:41 +02:00
b25b61eb97 vm_blocked_clients count fixed in INFO, thanks to Pietern Noordhuis 2010-07-21 13:15:03 +02:00
797c9ffb6b backport of patches that fix the behavior of LRANGE, LTRIM, ZRANGE, ZREVRANGE
and ZREMRANGEBYSCORE when an out of range negative end index is provided
original commits: 184d74, 4774a5, f483ce
2010-07-12 16:31:36 -04:00
de8c659026 Version is now 1.3.15 2010-07-01 20:27:43 +02:00
f9231c2c9a Fixed MONITOR output for consistency: now integer encoded values are also formatted like this: "3932" 2010-07-01 20:21:46 +02:00
c7543ab6f1 fixed error code checking for *write operations and return value in AOF rewriting function 2010-07-01 20:15:44 +02:00
e8de5c7a3f Fix for VM swapping out at DB loading time when key is shared 2010-06-07 17:57:56 +02:00
903b7484af fixed VM object swappability computation 2010-06-02 15:21:35 +02:00
b03dce9537 smarter swapout policy on AOF too 2010-06-02 15:19:09 +02:00
1bc183731d better swapout policy while loading RDB file 2010-06-02 15:19:02 +02:00
d1481e023a Fixed ZINCR Nan bugs leading to server crash and added tests 2010-05-28 12:26:26 +02:00
be00fa244d redis version is now 1.3.14 (aka 2.0.0 RC1) 2010-05-21 14:00:21 +02:00
2f4dd7e0fd minor fix for the skiplist code, resulting in a false positive with valgrind, and in general into a useless small allocation 2010-05-21 12:30:56 +02:00
10dea8dc1b fix memory leak on 32-bit builds 2010-05-20 19:43:28 +02:00
cbae1d34f6 Fix for DEBUG DIGEST 2010-05-20 16:50:40 +02:00
8513a757ab minor change to shutdown 2010-05-20 12:53:26 +02:00
fab43727b4 shutdown on SIGTERM 2010-05-20 12:50:57 +02:00
c14753cea1 Merge http://github.com/ngmoco/redis 2010-05-20 12:38:43 +02:00
46b614edf7 Merge branch 'master' into integration 2010-05-19 14:53:57 +02:00
30dd89b6b7 Fix for 'CONFIG SET appendonly no' 2010-05-19 13:36:32 +02:00
2e5eb04e50 It's now possible to turn off and on the AOF via CONFIG 2010-05-19 11:06:43 +02:00
274e45e365 build fixed when simpler shells are used to create release.h 2010-05-18 12:17:51 +02:00
5436146c8d create release.h in make process and add this information to INFO listing 2010-05-17 22:28:12 +02:00
26ef09a835 Redis version is now 1.3.12 2010-05-16 19:17:43 +02:00
9e08e1b9ed redis version is now 1.3.11 2010-05-16 19:15:12 +02:00
482b672df1 random refactoring and speedups 2010-05-16 02:02:46 +02:00
d6f4c262a1 faster INCR with very little efforts... 2010-05-16 00:59:08 +02:00
fdfb02e7ff print warnings in redis log when a test raises an exception (very likely to be caused by something like a failed assertion) 2010-05-15 23:48:08 +02:00
3be2c9d732 fixed a warning seen with some GCC version under Linux 2010-05-14 22:56:06 +02:00