antirez
|
fbb23ce496
|
some more comment about bio.c design
|
2011-09-15 18:23:11 +02:00 |
|
antirez
|
1317b7c233
|
Remove backgroud jobs from the queue only when the processing was completed, and not just started.
|
2011-09-15 18:21:27 +02:00 |
|
antirez
|
50be9b97bc
|
Use a different thread for every different type of background job
|
2011-09-15 18:21:16 +02:00 |
|
antirez
|
91de5421b2
|
Better comments for bioWaitPendingJobsLE
|
2011-09-15 18:21:02 +02:00 |
|
antirez
|
fde4e4c428
|
Background I/O library enhanced so that the main thread can query for the number of pending jobs of the specified type.
|
2011-09-15 18:20:53 +02:00 |
|
antirez
|
f190705722
|
TODO updated with 2.6 things
|
2011-09-15 17:04:55 +02:00 |
|
antirez
|
7feb90fa37
|
enable zmalloc thread safety support now that we have the bio.c background thread.
|
2011-09-14 19:09:48 +02:00 |
|
Salvatore Sanfilippo
|
e0ba14557e
|
Merge pull request #77 from Poincare/patch-1
Added note about Tcl
|
2011-09-14 06:27:47 -07:00 |
|
antirez
|
7cfeb8cccf
|
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:10:28 +02:00 |
|
antirez
|
6468a6faad
|
Don't replicate/AOF SAVE
|
2011-09-14 13:09:25 +02:00 |
|
antirez
|
986630afad
|
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
|
b454056d94
|
Asynchronously close old file after BGREWRITEAOF
|
2011-09-13 18:17:06 +02:00 |
|
antirez
|
b1c892f3f6
|
test background close operation removed
|
2011-09-13 16:57:18 +02:00 |
|
antirez
|
d47ded66ce
|
make bio_list static as well
|
2011-09-13 16:56:43 +02:00 |
|
antirez
|
b147cb9e1a
|
debug message removed
|
2011-09-13 16:53:33 +02:00 |
|
antirez
|
b7c739b0dd
|
use pthread_cond_signal() to make sure the background thread will process the job.
|
2011-09-13 16:21:12 +02:00 |
|
antirez
|
8ea2dfd75c
|
typo fixed in bio.c
|
2011-09-13 16:19:37 +02:00 |
|
antirez
|
f67e338d5c
|
Removed no longer useful fields in the redis server structure
|
2011-09-13 16:17:45 +02:00 |
|
antirez
|
8f61a72fa8
|
add background jobs initialization to Redis main init function
|
2011-09-13 16:10:26 +02:00 |
|
antirez
|
f81a5f54d8
|
bio.c typos fixes to make it compile
|
2011-09-13 16:09:06 +02:00 |
|
antirez
|
02925dd96e
|
bio.o added to redis-server objects
|
2011-09-13 15:59:48 +02:00 |
|
Pieter Noordhuis
|
d1ec6c8b22
|
Speed up protocol synthesis for AOF
|
2011-09-13 12:23:50 +02:00 |
|
Pieter Noordhuis
|
f990782f4d
|
Re-use AOF buffer when it is small enough
|
2011-09-13 12:22:54 +02:00 |
|
Pieter Noordhuis
|
a57225c2cf
|
Fix indent
|
2011-09-13 12:22:39 +02:00 |
|
antirez
|
4f06867afe
|
added a newline for code readability
|
2011-09-13 12:21:54 +02:00 |
|
Pieter Noordhuis
|
297322481d
|
Avoid unnecessary calls to time(3)
|
2011-09-13 12:18:55 +02:00 |
|
antirez
|
3bc89500d2
|
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
|
7551e23716
|
regression test for bug 593 added
|
2011-09-12 10:53:49 +02:00 |
|
antirez
|
48082cc044
|
fixed typos in the comments of rpoplpushHandlePush()
|
2011-09-12 10:04:23 +02:00 |
|
Hampus Wessman
|
c47d152c8d
|
Fix crash when chaining brpoplpush with other blocking commands.
|
2011-09-07 19:08:48 +02:00 |
|
Poincare
|
08c4b019b7
|
Added note about Tcl
|
2011-08-25 07:35:33 -03:00 |
|
antirez
|
b56567017d
|
Merge remote-tracking branch 'origin/unstable' into unstable
|
2011-08-09 11:46:21 +02:00 |
|
antirez
|
11aaf52313
|
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 |
|
antirez
|
f65c8f654f
|
Merge remote-tracking branch 'origin/unstable' into unstable
|
2011-07-28 14:40:47 +02:00 |
|
antirez
|
4bb1ccc6eb
|
Regression for a crash with blocking ops and pipelining
|
2011-07-28 14:40:06 +02:00 |
|
Hampus Wessman
|
64f201c2aa
|
Fix crash when pipelining several blocking commands.
|
2011-07-28 13:50:44 +02:00 |
|
antirez
|
3d9704d335
|
Merge remote branch 'origin/unstable' into unstable
|
2011-07-28 12:33:17 +02:00 |
|
antirez
|
243b783fdc
|
Maxmemory test
|
2011-07-28 12:32:52 +02:00 |
|
antirez
|
e54484876a
|
fixed assert proc on Redis test
|
2011-07-28 12:31:44 +02:00 |
|
antirez
|
47cadab42b
|
TODO updated
|
2011-07-27 16:39:03 +02:00 |
|
Pieter Noordhuis
|
bb831c313c
|
Fix adding bulk reply when getcwd fails
|
2011-07-27 16:22:28 +02:00 |
|
Pieter Noordhuis
|
4d6bf65c42
|
Wait for Lua to be built before linking redis-server
|
2011-07-27 14:47:02 +02:00 |
|
Pieter Noordhuis
|
2d7162bb1d
|
HDEL: Abort deleting fields when hash is removed
|
2011-07-27 12:29:40 +02:00 |
|
antirez
|
80e87a461a
|
Close the listening sockets. Apparently this allows faster restarts.
|
2011-07-22 12:11:40 +02:00 |
|
antirez
|
adae85cdae
|
prepareForShutdown() fixed for correctness regarding what to do with AOF and RDB persistence on exit.
|
2011-07-22 11:52:21 +02:00 |
|
antirez
|
d50292d2cc
|
make a scripting test more valgrind friendly
|
2011-07-15 18:28:24 +02:00 |
|
antirez
|
61fee31999
|
test that EVALSHA is replicated as EVAL
|
2011-07-15 17:41:40 +02:00 |
|
antirez
|
f790bd028c
|
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
|
319bb48c01
|
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
|
5cb4850708
|
Merge branch 'unstable' of github.com:antirez/redis into unstable
|
2011-07-13 15:38:33 +02:00 |
|