Commit Graph

1832 Commits

Author SHA1 Message Date
a6e312bf9a Added two new tests for RENAME, currently both will fail because of bug #128. 2011-10-10 15:25:22 +02:00
0e841b998a CONFIG SET/GET support for loglevel 2011-10-06 15:25:53 +02:00
cd0458470e Redis test ports selection made more robust. This prevents the test from hanging if an already bound port is selected but the TCP server listening to it does not cause a protocol error with a Redis client PING. Also base port moved away from the range near to the Redis Cluster gossip ports. 2011-10-04 10:07:29 +02:00
678dbc48fd Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h 2011-09-29 10:20:26 +02:00
3a91aca033 fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero. 2011-09-21 22:33:01 +02:00
9286ecd767 Release notes for Redis 2.4 RC8 added 2.4.0-rc8 2011-09-21 14:05:36 +02:00
902a656f7a Version bumped to 2.3.11 2011-09-21 13:56:03 +02:00
a58e486d79 no longer valid design documents removed 2011-09-20 11:15:18 +02:00
b0fcf23304 hash zipmap max entries and entry size information removed from INFO command since we have this info and the equivalent info for sets, hashes, zset accessible via the CONFIG GET command. 2011-09-20 11:08:08 +02:00
57f611d953 Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan; 2011-09-20 11:01:20 +02:00
20c26321c2 Fixed compilation on Mac/PPC
Applied patch from Issue 119 provided by
pahowes@gmail.com
2011-09-20 10:59:47 +02:00
2017d8baf7 [issue 620] don't segfault if number of arguments is less than 1 2011-09-20 10:56:43 +02:00
a511ce1b49 Include port number in error when can't bind lisetning port on startup. 2011-09-20 10:48:33 +02:00
1f164f4e1d Fixed comment typo 2011-09-19 17:49:50 +02:00
9f775040c8 Comment out things in bio.c that are currently not useful but that may be useful in the future. 2011-09-19 17:44:21 +02:00
6ca793fc21 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 17:44:17 +02:00
01ac844ba2 use aof_fsync wrapper instead of fsync(2) in bio.c 2011-09-19 17:44:11 +02:00
79b9ec53d1 fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation. 2011-09-19 17:43:56 +02:00
4c2d5f0980 postpone the AOF fsync if policy is everysec and there is a background fsync already going. 2011-09-19 17:43:49 +02:00
056c2acaea Fixed typo preventing compilation 2011-09-19 17:43:44 +02:00
f85c383b6c Added aof_backgronud_fsync() function, and use it in the bacground rewrite done handler when the fsync policy is everysec. 2011-09-19 17:43:40 +02:00
3ae56d8458 REDIS_BIO_AOF_FSYNC implemented 2011-09-19 17:43:34 +02:00
0807f5b9ff fixed a problem in bioOlderJobType() when there are no jobs of the specified type. Now the function returns 0 when this happens. 2011-09-19 17:43:28 +02:00
2eae7cbc7d some more comment about bio.c design 2011-09-19 17:43:23 +02:00
693618f1c1 Remove backgroud jobs from the queue only when the processing was completed, and not just started. 2011-09-19 17:43:19 +02:00
c67e8d3bf6 Use a different thread for every different type of background job 2011-09-19 17:43:13 +02:00
411cb75bcd Better comments for bioWaitPendingJobsLE 2011-09-19 17:43:07 +02:00
794419192e Background I/O library enhanced so that the main thread can query for the number of pending jobs of the specified type. 2011-09-19 17:43:01 +02:00
481a05cd23 commenting out aof-race test for now, waiting for a fix to issue #80 2011-09-16 15:43:27 +02:00
b9a65682fb Failing test related to AOF rewrite buffers 2011-09-16 11:24:08 +02:00
e3d1c8b080 Enforce upper bound for number of requests in redis-benchmark 2011-09-16 11:23:53 +02:00
682b63312e Fix AOF race that may duplicate commands 2011-09-16 11:14:00 +02:00
6fd1a72712 Fixed a bug in the average latency metering of redis-cli --latency 2011-09-15 19:32:49 +02:00
2e48ad5422 Implemented --latency in redis-cli 2011-09-15 19:28:24 +02:00
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
b7bf29059e Don't replicate/AOF SAVE 2011-09-14 13:08:19 +02:00
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
84f48cc401 Asynchronously close old file after BGREWRITEAOF 2011-09-14 10:51:52 +02:00
44690ab15f make bio_list static as well 2011-09-14 10:50:29 +02:00
a72c0423b4 debug message removed 2011-09-14 10:50:22 +02:00
c8d0013f38 use pthread_cond_signal() to make sure the background thread will process the job. 2011-09-14 10:47:53 +02:00
5ca75751ed typo fixed in bio.c 2011-09-14 10:47:48 +02:00
af14408e5c add background jobs initialization to Redis main init function 2011-09-14 10:47:31 +02:00
ed56ad5689 bio.c typos fixes to make it compile 2011-09-14 10:47:26 +02:00
c427f5d3c1 bio.o added to redis-server objects 2011-09-14 10:47:19 +02:00
325d2eb8b5 Speed up protocol synthesis for AOF 2011-09-13 12:26:53 +02:00
0fb6212cf4 Re-use AOF buffer when it is small enough 2011-09-13 12:26:49 +02:00
f602318349 Fix indent 2011-09-13 12:26:43 +02:00
2401c3eccb added a newline for code readability 2011-09-13 12:26:38 +02:00
8d9804bf40 Avoid unnecessary calls to time(3) 2011-09-13 12:26:33 +02:00