4353 Commits

Author SHA1 Message Date
antirez
22538cdf7c Don't replicate/AOF SAVE 2011-09-14 13:09:25 +02:00
antirez
39c9e093fa use bio.c instead of libeio for closing the AOF file in background. Some comment added and other minor changes. 2011-09-13 18:27:08 +02:00
Pieter Noordhuis
07679a36e2 Asynchronously close old file after BGREWRITEAOF 2011-09-13 18:17:06 +02:00
antirez
77f6889356 test background close operation removed 2011-09-13 16:57:18 +02:00
antirez
22f1abd1f0 make bio_list static as well 2011-09-13 16:56:43 +02:00
antirez
a9f573488e debug message removed 2011-09-13 16:53:33 +02:00
antirez
f8a6b4bd02 use pthread_cond_signal() to make sure the background thread will process the job. 2011-09-13 16:21:12 +02:00
antirez
9c24b5fb6b typo fixed in bio.c 2011-09-13 16:19:37 +02:00
antirez
b4ea9dc894 Removed no longer useful fields in the redis server structure 2011-09-13 16:17:45 +02:00
antirez
1e8ec39fa8 add background jobs initialization to Redis main init function 2011-09-13 16:10:26 +02:00
antirez
962cfce8b7 bio.c typos fixes to make it compile 2011-09-13 16:09:06 +02:00
antirez
0f68818d30 bio.o added to redis-server objects 2011-09-13 15:59:48 +02:00
Pieter Noordhuis
085242e62b Speed up protocol synthesis for AOF 2011-09-13 12:23:50 +02:00
Pieter Noordhuis
c73a656652 Re-use AOF buffer when it is small enough 2011-09-13 12:22:54 +02:00
Pieter Noordhuis
6f3256c7d3 Fix indent 2011-09-13 12:22:39 +02:00
antirez
3bfc640273 added a newline for code readability 2011-09-13 12:21:54 +02:00
Pieter Noordhuis
406024e23f Avoid unnecessary calls to time(3) 2011-09-13 12:18:55 +02:00
antirez
0d57e6afc1 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:06:28 +02:00
antirez
1912b1fd64 fixed typos in the comments of rpoplpushHandlePush() 2011-09-12 10:04:23 +02:00
Hampus Wessman
5c0db2df35 Fix crash when chaining brpoplpush with other blocking commands. 2011-09-07 19:08:48 +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
Konstantin Merenkov
2a3262572c [issue 620] don't segfault if number of arguments is less than 1 2011-08-02 17:05:04 +04:00
Hampus Wessman
e558915223 Fix crash when pipelining several blocking commands. 2011-07-28 13:50:44 +02:00
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