Commit Graph

700 Commits

Author SHA1 Message Date
a830d941a7 Fix adding bulk reply when getcwd fails 2011-07-27 16:22:47 +02:00
9c3a89853c HDEL: Abort deleting fields when hash is removed 2011-07-27 12:30:35 +02:00
7ca6672338 version bumped to 2.3.7 2011-07-22 16:26:24 +02:00
6c68df4f32 Close the listening sockets. Apparently this allows faster restarts. 2011-07-22 12:12:45 +02:00
8b58723eb2 prepareForShutdown() fixed for correctness regarding what to do with AOF and RDB persistence on exit. 2011-07-22 11:55:34 +02:00
abd4cd7827 Added a 'runtest' script that is responsible to check if Tcl is available and run the test. This is invoked from Makefile as well. 2011-07-15 17:24:44 +02:00
81c74eb48f version bumped to 2.3.6 2011-07-15 11:30:54 +02:00
a395ce2659 removed --file in test suite execution from Makefile. The option is no longer supported 2011-07-12 10:04:27 +02:00
3a4afb0473 Manual merge after cherry-pick 2011-07-12 10:03:22 +02:00
63aed54a27 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-12 10:00:12 +02:00
64cb15799c 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-12 09:57:17 +02:00
19453556d4 dataspace change hook functions backported to 2.4. They are just wrappers at this point but this makes simpler to cherry-pick between branches. 2011-07-12 09:56:41 +02:00
91654a40e7 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-12 09:46:17 +02:00
d229160e18 childrens -> children in INFO output field names. This is a backward incompatible change, but really a minimal one. 2011-07-02 10:51:35 +02:00
5dc2a4885d no more allocation stats info in INFO, useless now that we have jemalloc. 2011-07-02 10:25:35 +02:00
30b345ddbb more slow log merge, I forgot to resolve a conflict. 2011-07-02 00:27:10 +02:00
06966abc66 Makefile deps updated 2011-07-02 00:25:46 +02:00
99509ab257 slow log merged into 2.4 2011-07-02 00:24:11 +02:00
c755c637c6 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:11:06 +02:00
616da6585a comment lines in config.h capitalized 2011-06-20 11:37:46 +02:00
5d5fe340e0 new INFO filed master_link_down_since_seconds 2011-06-17 16:13:22 +02:00
b04e800b98 Use a safe iterator while saving the DB, since the getExpire() function will access the iterating dictionary. 2011-06-17 15:40:55 +02:00
13572dc21b useless call removed, thanks to Pieter for spotting this 2011-06-14 16:59:57 +02:00
307868e149 DB API refactoring. The changes were designed together with Pieter Noordhuis. 2011-06-14 16:59:45 +02:00
b90c72c86a Fix automatic rewrite starting too early.
Slight adjustment in growth calculation.
2011-06-14 10:29:24 +02:00
61751a4dc4 AOF auto rewrite backported to 2.4 2011-06-10 18:31:27 +02:00
4dfecf64e1 Fix Makefile colors.
echo with escape sequences isn't portable. Use printf instead.
2011-06-09 16:37:32 +02:00
7638130d6e Two fixes for replication: Slave performs the AOF rewrite at the right point. Non blocking connect also uses readable handler as with old Linux kernels like 2.6.18 on connection refused the writable even is not fired (kernel bug). 2011-06-09 15:35:18 +02:00
4e5b1d3851 version bumped to 2.3.5 2011-06-08 23:21:09 +02:00
27c8f84c66 INFO now contains the time (in usecs) needed to fork() in order to persist. The info is available in the stats section of INFO. 2011-06-08 23:20:11 +02:00
32463852be Add ustime() from unstable into utils.c 2011-06-08 23:13:47 +02:00
567d575dbe Color make backported to 2.4 2011-06-08 22:53:33 +02:00
a7982fed9e Warn the user that will try to enable VM that VM sucks. But still allows him to enable VM with a special option. 2011-06-06 18:41:54 +02:00
112569d12d touch less pages in decrRefCount 2011-06-02 17:41:42 +02:00
fcf862d22b Merge remote branch 'pietern/2.4-bench' into 2.4 2011-06-01 18:17:25 +02:00
16d227ef2d Removed useless stuff from config.h that are now moved into zmalloc.h 2011-06-01 18:07:40 +02:00
ac1eda60b0 Fixed warning on Linux 2011-06-01 18:06:30 +02:00
598387b970 encoding agnostic intsets 2011-06-01 18:04:50 +02:00
8789dc82aa fmacros in utils.c to avoid warning about strcasecmp() 2011-06-01 17:58:20 +02:00
7f90bcfaee Added -ldl when linking against jemalloc, needed on Linux 2011-06-01 17:56:50 +02:00
860e3ade2d It is now possible to build with: make 32bit USE_JEMALLOC=yes 2011-06-01 17:08:12 +02:00
0042a2d737 jemalloc support backported in 2.4 using part of the Pieter Noordhuis and Didier Spezia original implementations 2011-06-01 16:52:53 +02:00
fe71355df9 There is no debug mode in benchmark tool 2011-05-31 17:42:48 -07:00
33d00ff7d5 Provide custom command to benchmark against via args 2011-05-31 17:42:47 -07:00
c60a0f588e More const's in redis-benchmark.c 2011-05-31 17:42:47 -07:00
942354f925 version bumped to 2.3.4 2011-05-31 20:46:38 +02:00
cd7a497164 revert ZADD implementation to 2.4 WATCH API. 2011-05-31 20:40:24 +02:00
45df42c9fe Variadic ZADD 2011-05-31 20:37:08 +02:00
6e326c81dc prepare to cherry pick variadic ZADD without conflicts 2011-05-31 20:36:17 +02:00
913090ec63 Variadic ZREM 2011-05-31 20:33:47 +02:00