1749 Commits

Author SHA1 Message Date
antirez
2e48ad5422 Implemented --latency in redis-cli 2011-09-15 19:28:24 +02:00
antirez
67f594f9b5 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:04 +02:00
antirez
b7bf29059e Don't replicate/AOF SAVE 2011-09-14 13:08:19 +02:00
antirez
889d468e51 use bio.c instead of libeio for closing the AOF file in background. Some comment added and other minor changes. 2011-09-14 10:52:07 +02:00
Pieter Noordhuis
84f48cc401 Asynchronously close old file after BGREWRITEAOF 2011-09-14 10:51:52 +02:00
antirez
44690ab15f make bio_list static as well 2011-09-14 10:50:29 +02:00
antirez
a72c0423b4 debug message removed 2011-09-14 10:50:22 +02:00
antirez
c8d0013f38 use pthread_cond_signal() to make sure the background thread will process the job. 2011-09-14 10:47:53 +02:00
antirez
5ca75751ed typo fixed in bio.c 2011-09-14 10:47:48 +02:00
antirez
af14408e5c add background jobs initialization to Redis main init function 2011-09-14 10:47:31 +02:00
antirez
ed56ad5689 bio.c typos fixes to make it compile 2011-09-14 10:47:26 +02:00
antirez
c427f5d3c1 bio.o added to redis-server objects 2011-09-14 10:47:19 +02:00
Pieter Noordhuis
325d2eb8b5 Speed up protocol synthesis for AOF 2011-09-13 12:26:53 +02:00
Pieter Noordhuis
0fb6212cf4 Re-use AOF buffer when it is small enough 2011-09-13 12:26:49 +02:00
Pieter Noordhuis
f602318349 Fix indent 2011-09-13 12:26:43 +02:00
antirez
2401c3eccb added a newline for code readability 2011-09-13 12:26:38 +02:00
Pieter Noordhuis
8d9804bf40 Avoid unnecessary calls to time(3) 2011-09-13 12:26:33 +02:00
antirez
da30c9e1e3 Version bumped to 2.3.10, changelog updated 2.4.0-rc7 2011-09-12 12:13:44 +02:00
antirez
3c51d3b36b 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:11 +02:00
antirez
00c7f312cc regression test for bug 593 added 2011-09-12 10:54:43 +02:00
antirez
b10913b93d fixed typos in the comments of rpoplpushHandlePush() 2011-09-12 10:05:38 +02:00
Hampus Wessman
cbf01c0e01 Fix crash when chaining brpoplpush with other blocking commands. 2011-09-12 10:05:32 +02:00
antirez
214cf63730 Version bumped to 2.3.9. Changelog modified accordingly. 2.4.0-rc6 2011-08-09 12:04:26 +02:00
antirez
4a4f4cb5ff 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:45:57 +02:00
antirez
a57bd791e9 243b783fdc4a77968f7a3dd4a246e43b226a4316 2011-07-29 15:50:15 +02:00
antirez
ed9f997ce5 fixed assert proc on Redis test 2011-07-29 15:49:31 +02:00
antirez
55eea93cae Release notes for 2.4.0-RC5 2.4.0-rc5 2011-07-29 15:44:21 +02:00
antirez
753e91b6c1 Version bumped to 2.3.8 2011-07-29 15:39:31 +02:00
Pieter Noordhuis
a830d941a7 Fix adding bulk reply when getcwd fails 2011-07-27 16:22:47 +02:00
Pieter Noordhuis
9c3a89853c HDEL: Abort deleting fields when hash is removed 2011-07-27 12:30:35 +02:00
antirez
7ca6672338 version bumped to 2.3.7 2.4.0-rc4 2011-07-22 16:26:24 +02:00
antirez
6c68df4f32 Close the listening sockets. Apparently this allows faster restarts. 2011-07-22 12:12:45 +02:00
antirez
8b58723eb2 prepareForShutdown() fixed for correctness regarding what to do with AOF and RDB persistence on exit. 2011-07-22 11:55:34 +02:00
Salvatore Sanfilippo
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
antirez
81c74eb48f version bumped to 2.3.6 2.4.0-rc3 2011-07-15 11:30:54 +02:00
antirez
a395ce2659 removed --file in test suite execution from Makefile. The option is no longer supported 2011-07-12 10:04:27 +02:00
antirez
3a4afb0473 Manual merge after cherry-pick 2011-07-12 10:03:22 +02:00
antirez
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
antirez
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
antirez
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
Hampus Wessman
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
antirez
619174117d new test engine backported to 2.4 2011-07-12 09:40:54 +02:00
antirez
0462d983c2 Ingore jemalloc make distclean error in Makefile, caused by make clean against a tree that never compiled jemalloc. 2011-07-05 13:27:37 +02:00
antirez
847fc09855 Fixed typo in redis.conf related to slow log parameters 2011-07-03 15:50:07 +02:00
antirez
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
antirez
5dc2a4885d no more allocation stats info in INFO, useless now that we have jemalloc. 2011-07-02 10:25:35 +02:00
antirez
30b345ddbb more slow log merge, I forgot to resolve a conflict. 2011-07-02 00:27:10 +02:00
antirez
06966abc66 Makefile deps updated 2011-07-02 00:25:46 +02:00
antirez
99509ab257 slow log merged into 2.4 2011-07-02 00:24:11 +02:00
antirez
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