1328 Commits

Author SHA1 Message Date
Pieter Noordhuis
962ab10f51 Fix adding bulk reply when getcwd fails 2011-07-27 16:22:28 +02:00
Pieter Noordhuis
4c83707648 Wait for Lua to be built before linking redis-server 2011-07-27 14:47:02 +02:00
Pieter Noordhuis
49fd303a6b HDEL: Abort deleting fields when hash is removed 2011-07-27 12:29:40 +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
c386123f1e 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:20:57 +02:00
antirez
0570fc34c9 top level Makefile now just a proxy. Doing make clean inside src now does a full clean including deps, not just Redis source. Thanks to Pieter for the top level Makefile proxy trick. 2011-07-13 19:15:22 +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
36b24ea34e scripting.txt file removed, content merged into the TODO file 2011-07-13 12:04:02 +02:00
antirez
5a925e2bec when building redis-server use LINK and not CC as prefix in the output 2011-07-12 12:58:32 +02:00
antirez
36dcfd6d3a Fix for a typo left after merging. 2011-07-12 12:43:05 +02:00
antirez
335b27ecd0 master branch merged into scripting. 2011-07-12 12:39:16 +02:00
antirez
8bad9ed751 make test depends on redis-check-aof as well. 2011-07-11 14:48:45 +02:00
antirez
09ebe29c54 removed --file argument from test invocation inside Makefile 2011-07-11 13:46:09 +02:00
antirez
fe8419b789 use tclsh8.5 not only in which but also in the actual test execution. 2011-07-11 11:18:46 +02:00
antirez
2b9d6036e1 explicitly use tclsh8.5 to run the test 2011-07-11 11:17:05 +02:00
antirez
ee2dc83094 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-08 12:59:30 +02:00
antirez
a5f5dccd7a 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-07 16:24:37 +02:00
Hampus Wessman
5292b93ba4 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-07 16:08:30 +02:00
antirez
d63741af03 more valgrind friendly test 2011-07-06 15:22:00 +02:00
antirez
968675b44d childrens -> children in INFO output field names. This is a backward incompatible change, but really a minimal one. 2011-07-02 10:52:28 +02:00
antirez
f60fcf2c76 no more allocation stats info in INFO, useless now that we have jemalloc. 2011-07-02 10:31:16 +02:00
antirez
7f2a755f7d Added an unique ID field to every slow log entry. 2011-06-30 17:36:15 +02:00
antirez
3cfd6b29f7 More redis.conf self-documentation. Now even queries that took exactly server.slow_log_slower_than are logged, as this is not exact but is more intuitive for people, and a value of 0 will force every query to be logged. 2011-06-30 15:54:05 +02:00
antirez
3d95a54faf slow log configuration implemented 2011-06-30 15:47:15 +02:00
antirez
0849d05e30 DEUBG SLEEP implemented 2011-06-30 13:31:44 +02:00
antirez
75e3a07c9c First implementation of the slow log feature 2011-06-30 13:27:32 +02:00
antirez
8ba7e850f3 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:23 +02:00
antirez
4d0e1714f0 unstable merge conflicts resolved 2011-06-25 12:29:24 +02:00
antirez
3184279daf Merge remote branch 'origin/unstable' into unstable 2011-06-25 12:22:59 +02:00
antirez
59f09141f5 diskstore removed 2011-06-25 12:22:03 +02:00
Salvatore Sanfilippo
b270078ef6 Merge pull request #63 from djanowski/tcl
Add warning when `tcl` is not available to run tests
2011-06-24 09:59:37 -07:00
Damian Janowski
bd2ceed7e8 Avoid bug reports when Tcl is not installed. 2011-06-24 13:56:06 -03:00
antirez
7192cd5cb7 Fix for bug 561 and other related problems 2011-06-20 17:19:36 +02:00
antirez
b0ab1f8c76 useless call removed, thanks to Pieter for spotting this 2011-06-20 16:42:37 +02:00
antirez
0b00199553 DB API refactoring. The changes were designed together with Pieter Noordhuis. 2011-06-20 16:42:16 +02:00
antirez
41c7059eea Makefile deps updated 2011-06-20 11:58:54 +02:00
antirez
a1a9431bab It is now possible to build with: make 32bit USE_JEMALLOC=yes 2011-06-20 11:54:57 +02:00
antirez
f1912d5f09 Added -ldl when linking against jemalloc, needed on Linux 2011-06-20 11:54:35 +02:00
antirez
2f4850b0c2 Fixed INFO implementation to use the new allocator name define 2011-06-20 11:54:08 +02:00
antirez
6d5108627a Makefile modified to build with jemalloc 2011-06-20 11:52:15 +02:00
antirez
c1162bbbe7 ZMALLOC related stuff removed from config.h. They are now defined in zmalloc.h 2011-06-20 11:35:29 +02:00
antirez
00b6545b4f forward-ported changes in zmalloc.c/h to support jemalloc build 2011-06-20 11:34:04 +02:00
antirez
c91c904e1c new INFO filed master_link_down_since_seconds 2011-06-17 16:16:46 +02:00
antirez
d537a7b296 Use a safe iterator while saving the DB, since the getExpire() function will access the iterating dictionary. 2011-06-17 15:41:22 +02:00
antirez
11f9b77981 Updated to unstable 2011-06-14 18:06:39 +02:00
Hampus Wessman
042711c743 Fix automatic rewrite starting too early.
Slight adjustment in growth calculation.
2011-06-12 07:27:01 +02:00
antirez
ddbe7929fc different message on BGREWRITEAOF when it is just scheduled and not started. 2011-06-10 18:35:16 +02:00
antirez
2d138989e3 minor code aesthetic change 2011-06-10 18:13:57 +02:00
antirez
701db8f1bc Make sure an automatic rewrite only gets triggered when no other child is in execution. 2011-06-10 15:15:29 +02:00