Commit Graph

1614 Commits

Author SHA1 Message Date
antirez
74b77ff8a6 FLUSHALL will only perform a blocking SAVE if RDB persistence is configured. 2011-10-17 10:55:37 +02:00
antirez
15da88c8dc Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h 2011-09-29 10:20:36 +02:00
Juri M. Vainonen
ee2f20dfde fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero. 2011-09-21 22:33:13 +02:00
antirez
0dfc5578bf Version bumped to 2.2.14, Changelog updated. 2011-09-21 18:12:56 +02:00
antirez
ee9f3679a9 Fixed a bug in the average latency metering of redis-cli --latency 2011-09-21 18:10:07 +02:00
antirez
28de624c70 Implemented --latency in redis-cli 2011-09-21 18:09:46 +02:00
Pieter Noordhuis
5d4675979d Fix AOF race that may duplicate commands 2011-09-16 11:22:29 +02:00
antirez
9e087a298d Optimize LRANGE to scan the list starting from the head or the tail in order to traverse the minimal number of elements. Thanks to Didier Spezia for noticing the problem and providing a patch. 2011-09-14 15:17:09 +02:00
antirez
8ac3c86664 Don't replicate/AOF SAVE 2011-09-14 14:54:08 +02:00
antirez
a8ed663376 Version bumped to 2.2.13, changelog updated. 2011-09-12 15:49:20 +02:00
antirez
61f57b6a8f Remove the write handler only if there are no longer objects in the output queue AND if the static buffer is empty. This bug was the cause of a possible server-stop-responding-to-client bug under some specific work load. Thanks to Pieter Noordhuis for spotting and fixing it. 2011-09-12 11:05:48 +02:00
antirez
24a1580df5 Fix for 2.2 TCMALLOC build, thanks to Pieter Noordhuis for the patch. 2011-09-12 11:01:55 +02:00
antirez
4793a2c3c3 fixed typos in the comments of rpoplpushHandlePush() 2011-09-12 10:06:00 +02:00
Hampus Wessman
1d05b53fcc Fix crash when chaining brpoplpush with other blocking commands. 2011-09-12 10:05:58 +02:00
Pieter Noordhuis
e1f01c9b28 Fix link order for ld --as-needed (thanks to Nigel Babu) 2011-07-28 10:42:57 +02:00
antirez
c1b270127c Merge remote-tracking branch 'origin/2.2' into 2.2 2011-07-27 16:37:45 +02:00
Pieter Noordhuis
62e6f6c29a Fix adding bulk reply when getcwd fails 2011-07-27 16:22:58 +02:00
antirez
5960ac9dec Redis 2.2.12 2011-07-22 12:22:26 +02:00
antirez
ec7bbadce9 Close the listening sockets. Apparently this allows faster restarts. 2011-07-22 12:12:55 +02:00
antirez
063923de1c prepareForShutdown() fixed for correctness regarding what to do with AOF and RDB persistence on exit. 2011-07-22 12:03:24 +02:00
Hampus Wessman
aa96ebec89 Add test for incorrect expiration when loading AOF. 2011-07-15 18:15:27 +02:00
antirez
563f4cfee5 force VM usage when doing the VM test in 2.2, adding the really-use-vm config option. 2011-07-15 18:13:43 +02:00
antirez
e8108591e4 Warn the user that will try to enable VM that VM sucks. But still allows him to enable VM with a special option. 2011-07-15 18:11:00 +02:00
antirez
eed4ec4664 Warn the user in redis.conf that VM is deprecated and discouraged 2011-07-15 18:10:20 +02:00
antirez
9702c92c4f Fixed another merge typo 2011-07-15 18:04:41 +02:00
antirez
3fee7e3013 removed a second copy of rewriteClientCommandVector put inside the source code for a merge error 2011-07-15 18:02:45 +02:00
antirez
891f9196fc Manual merge after cherry-pick 2011-07-15 18:00:24 +02:00
antirez
59aecb3a6c Take a pointer to the relevant entry of the command table in the client structure. This is generally a more sounding design, simplifies a few functions prototype, and as a side effect fixes a bug related to the conversion of EXPIRE -1 to DEL: before of this fix Redis tried to convert it into an EXPIREAT in the AOF code, regardless of our rewrite of the command. 2011-07-15 18:00:03 +02:00
antirez
b8082ae7ba don't process EXPIRE with negative TTL or EXPIREAT with time in the past if we are a slave too (see http://groups.google.com/group/redis-db/browse_thread/thread/5a931fefb88b16d5). Also propagate it as DEL. 2011-07-15 17:59:27 +02:00
antirez
d30dafe7f4 use the new rewriteClientCommandVector() function for SPOP -> SREM replication translation as well. 2011-07-15 17:58:22 +02:00
Hampus Wessman
a906670e2d Don't expire keys while loading AOF.
They will be expired (and a DEL will be logged) after the loading is done
instead.
2011-07-15 17:48:22 +02:00
antirez
d3203c16f5 Fixed a problem with AOF when it is stopped via CONFIG SET appendonly no. We used to kill the wrong child... 2011-07-07 13:24:44 +02:00
antirez
2e1adff83e Fixed typo in redis.conf related to slow log parameters 2011-07-03 15:50:21 +02:00
antirez
194058931f childrens -> children in INFO output field names. This is a backward incompatible change, but really a minimal one. 2011-07-02 10:52:41 +02:00
antirez
5a7bfb8a84 colorized make for 2.2 as well 2011-07-02 10:50:13 +02:00
antirez
aaa7fe1551 no more allocation stats info in INFO, useless now that we have jemalloc. 2011-07-02 10:33:52 +02:00
antirez
33d2761bc0 ustime() backported from unstable, used by slow log 2011-07-01 15:47:48 +02:00
antirez
ad6347b74e Slowlog backported to 2.2 2011-07-01 15:45:36 +02:00
antirez
d3b5989148 Partial fix for a problem with AOF and BRPOP. We have at least a single evidence of an AOF that ended with a BRPOP call against an empty list, causing later issues at run time. Now the problem is detected while loading the AOF at startup, even if it is still to understand how the corrupted AOF was generated. 2011-06-29 16:10:28 +02:00
antirez
a2d68e6524 Redis 2.2.11 2011-06-22 22:37:21 +02:00
antirez
25e805b417 Use a safe iterator while saving the DB, since the getExpire() function will access the iterating dictionary. 2011-06-17 15:41:10 +02:00
antirez
4ec8b732b7 Redis 2.2.10 2011-06-14 17:32:49 +02:00
antirez
046b4f66ef redis-cli updated to the same version as the 2.4 branch 2011-06-14 17:28:01 +02:00
antirez
5d91926304 Fix for issue 566, fixed in a more long term way into the 2.4 branch 2011-06-14 17:19:25 +02:00
Pieter Noordhuis
5afce9b6ea SETNX regression tests. 2011-06-14 17:13:08 +02:00
antirez
0df2e5b9d5 Fixed init script bug, thanks to Henrik Westphal 2011-06-14 17:12:14 +02:00
antirez
0b4eb5fd21 Better init script 2011-06-14 13:49:02 +02:00
Pieter Noordhuis
b13216a8c7 Work with make v3.80 2011-06-13 09:42:03 +02:00
antirez
25a585ad42 Changelog typo fixed 2011-06-09 22:03:18 +02:00
antirez
7d8c021a9a Redis 2.2.9 2011-06-09 19:08:22 +02:00