2771 Commits

Author SHA1 Message Date
antirez
7b256eac36 TODO updated 2011-09-21 19:13:43 +02:00
antirez
3ebbe97fbe TODO updated after moving more things into the github issues system 2011-09-20 15:34:49 +02:00
antirez
93fb2efb38 TODO updated 2011-09-20 14:50:01 +02:00
antirez
35e2a995e4 no longer valid design documents removed 2011-09-20 11:15:55 +02:00
Salvatore Sanfilippo
cdb2ea2d52 Merge pull request #72 from datafueled/spelling
Spelling fixes.
2011-09-20 02:12:14 -07:00
Salvatore Sanfilippo
660c6f5e69 Merge pull request #78 from vambo/patch-1
Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan;
2011-09-20 02:00:58 -07:00
Salvatore Sanfilippo
d5df7a7666 Merge pull request #79 from annulen/mac_ppc
Fixed compilation on Mac/PPC
2011-09-20 01:58:55 -07:00
Salvatore Sanfilippo
46f20e7917 Merge pull request #74 from kmerenkov/issue_620
[issue 620] don't segfault if number of arguments is less than 1
2011-09-20 01:55:34 -07:00
antirez
1fb3f7ad07 Include port number in error when can't bind lisetning port on startup. 2011-09-20 10:48:21 +02:00
antirez
9f50eaa47a Fixed comment typo 2011-09-19 17:50:07 +02:00
antirez
0a551df576 Comment out things in bio.c that are currently not useful but that may be useful in the future. 2011-09-19 17:06:27 +02:00
antirez
d8c0b536b4 Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed. 2011-09-19 16:52:13 +02:00
antirez
918e80a29c use aof_fsync wrapper instead of fsync(2) in bio.c 2011-09-16 15:53:01 +02:00
antirez
fdd6486178 Merge remote-tracking branch 'origin/unstable' into bg-aof-2 2011-09-16 15:44:14 +02:00
antirez
ee7e838830 commenting out aof-race test for now, waiting for a fix to issue #80 2011-09-16 15:43:03 +02:00
antirez
71d6796fd9 Merge remote-tracking branch 'origin/unstable' into bg-aof-2 2011-09-16 12:36:33 +02:00
antirez
07978ceb03 fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation. 2011-09-16 12:36:17 +02:00
antirez
5d02f830e6 postpone the AOF fsync if policy is everysec and there is a background fsync already going. 2011-09-16 12:35:12 +02:00
antirez
fa1876d48d Fixed typo preventing compilation 2011-09-16 12:11:48 +02:00
Pieter Noordhuis
a9f7a179fd Failing test related to AOF rewrite buffers 2011-09-16 11:25:05 +02:00
Pieter Noordhuis
17629fc963 Enforce upper bound for number of requests in redis-benchmark 2011-09-16 11:25:00 +02:00
Pieter Noordhuis
15fbeddda1 Fix AOF race that may duplicate commands 2011-09-16 11:12:31 +02:00
antirez
1e8f56bcef Added aof_backgronud_fsync() function, and use it in the bacground rewrite done handler when the fsync policy is everysec. 2011-09-16 11:08:39 +02:00
antirez
68c4acd91b Fixed a bug in the average latency metering of redis-cli --latency 2011-09-15 19:33:24 +02:00
antirez
84c42e7da3 Implemented --latency in redis-cli 2011-09-15 19:28:00 +02:00
antirez
dc5a9e043c REDIS_BIO_AOF_FSYNC implemented 2011-09-15 18:25:53 +02:00
antirez
8bf559aeca fixed a problem in bioOlderJobType() when there are no jobs of the specified type. Now the function returns 0 when this happens. 2011-09-15 18:23:58 +02:00
antirez
689520b365 some more comment about bio.c design 2011-09-15 18:23:11 +02:00
antirez
fa636fbb51 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
1b5ba28d72 Use a different thread for every different type of background job 2011-09-15 18:21:16 +02:00
antirez
5628b46d5d Better comments for bioWaitPendingJobsLE 2011-09-15 18:21:02 +02:00
antirez
485db6ea68 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
d7fc4d591d TODO updated with 2.6 things 2011-09-15 17:04:55 +02:00
antirez
20b15f7b28 enable zmalloc thread safety support now that we have the bio.c background thread. 2011-09-14 19:09:48 +02:00
Salvatore Sanfilippo
8e0f312843 Merge pull request #77 from Poincare/patch-1
Added note about Tcl
2011-09-14 06:27:47 -07:00
antirez
2dab3fdc64 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
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