]> git.saurik.com Git - redis.git/log
redis.git
13 years agoMerge pull request #74 from kmerenkov/issue_620
Salvatore Sanfilippo [Tue, 20 Sep 2011 08:55:34 +0000 (01:55 -0700)] 
Merge pull request #74 from kmerenkov/issue_620

[issue 620] don't segfault if number of arguments is less than 1

13 years agoInclude port number in error when can't bind lisetning port on startup.
antirez [Tue, 20 Sep 2011 08:48:21 +0000 (10:48 +0200)] 
Include port number in error when can't bind lisetning port on startup.

13 years agoFixed comment typo
antirez [Mon, 19 Sep 2011 15:49:50 +0000 (17:49 +0200)] 
Fixed comment typo

13 years agoComment out things in bio.c that are currently not useful but that may be useful...
antirez [Mon, 19 Sep 2011 15:06:27 +0000 (17:06 +0200)] 
Comment out things in bio.c that are currently not useful but that may be useful in the future.

13 years agoEmit a log message when AOF fsync is still in progress but we are forced to write...
antirez [Mon, 19 Sep 2011 14:52:13 +0000 (16:52 +0200)] 
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.

13 years agouse aof_fsync wrapper instead of fsync(2) in bio.c
antirez [Fri, 16 Sep 2011 13:53:01 +0000 (15:53 +0200)] 
use aof_fsync wrapper instead of fsync(2) in bio.c

13 years agoMerge remote-tracking branch 'origin/unstable' into bg-aof-2
antirez [Fri, 16 Sep 2011 13:44:14 +0000 (15:44 +0200)] 
Merge remote-tracking branch 'origin/unstable' into bg-aof-2

13 years agocommenting out aof-race test for now, waiting for a fix to issue #80
antirez [Fri, 16 Sep 2011 13:43:03 +0000 (15:43 +0200)] 
commenting out aof-race test for now, waiting for a fix to issue #80

13 years agoMerge remote-tracking branch 'origin/unstable' into bg-aof-2
antirez [Fri, 16 Sep 2011 10:36:33 +0000 (12:36 +0200)] 
Merge remote-tracking branch 'origin/unstable' into bg-aof-2

13 years agofixed flushAppendOnlyFile() function prototype to reflect the new implementation...
antirez [Fri, 16 Sep 2011 10:36:17 +0000 (12:36 +0200)] 
fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation.

13 years agopostpone the AOF fsync if policy is everysec and there is a background fsync already...
antirez [Fri, 16 Sep 2011 10:35:12 +0000 (12:35 +0200)] 
postpone the AOF fsync if policy is everysec and there is a background fsync already going.

13 years agoFixed typo preventing compilation
antirez [Fri, 16 Sep 2011 10:11:48 +0000 (12:11 +0200)] 
Fixed typo preventing compilation

13 years agoFailing test related to AOF rewrite buffers
Pieter Noordhuis [Wed, 17 Aug 2011 16:09:01 +0000 (18:09 +0200)] 
Failing test related to AOF rewrite buffers

13 years agoEnforce upper bound for number of requests in redis-benchmark
Pieter Noordhuis [Wed, 17 Aug 2011 15:06:19 +0000 (17:06 +0200)] 
Enforce upper bound for number of requests in redis-benchmark

13 years agoFix AOF race that may duplicate commands
Pieter Noordhuis [Wed, 17 Aug 2011 16:15:06 +0000 (18:15 +0200)] 
Fix AOF race that may duplicate commands

13 years agoAdded aof_backgronud_fsync() function, and use it in the bacground rewrite done handl...
antirez [Fri, 16 Sep 2011 09:08:39 +0000 (11:08 +0200)] 
Added aof_backgronud_fsync() function, and use it in the bacground rewrite done handler when the fsync policy is everysec.

13 years agoFixed a bug in the average latency metering of redis-cli --latency
antirez [Thu, 15 Sep 2011 17:32:25 +0000 (19:32 +0200)] 
Fixed a bug in the average latency metering of redis-cli --latency

13 years agoImplemented --latency in redis-cli
antirez [Thu, 15 Sep 2011 17:28:00 +0000 (19:28 +0200)] 
Implemented --latency in redis-cli

13 years agoREDIS_BIO_AOF_FSYNC implemented
antirez [Thu, 15 Sep 2011 16:25:53 +0000 (18:25 +0200)] 
REDIS_BIO_AOF_FSYNC implemented

13 years agofixed a problem in bioOlderJobType() when there are no jobs of the specified type...
antirez [Thu, 15 Sep 2011 16:23:58 +0000 (18:23 +0200)] 
fixed a problem in bioOlderJobType() when there are no jobs of the specified type. Now the function returns 0 when this happens.

13 years agosome more comment about bio.c design
antirez [Thu, 15 Sep 2011 16:23:11 +0000 (18:23 +0200)] 
some more comment about bio.c design

13 years agoRemove backgroud jobs from the queue only when the processing was completed, and...
antirez [Thu, 15 Sep 2011 13:52:14 +0000 (15:52 +0200)] 
Remove backgroud jobs from the queue only when the processing was completed, and not just started.

13 years agoUse a different thread for every different type of background job
antirez [Thu, 15 Sep 2011 13:46:29 +0000 (15:46 +0200)] 
Use a different thread for every different type of background job

13 years agoBetter comments for bioWaitPendingJobsLE
antirez [Wed, 14 Sep 2011 17:05:21 +0000 (19:05 +0200)] 
Better comments for bioWaitPendingJobsLE

13 years agoBackground I/O library enhanced so that the main thread can query for the number...
antirez [Wed, 14 Sep 2011 16:39:29 +0000 (18:39 +0200)] 
Background I/O library enhanced so that the main thread can query for the number of pending jobs of the specified type.

13 years agoTODO updated with 2.6 things
antirez [Thu, 15 Sep 2011 15:04:55 +0000 (17:04 +0200)] 
TODO updated with 2.6 things

13 years agoenable zmalloc thread safety support now that we have the bio.c background thread.
antirez [Wed, 14 Sep 2011 17:09:48 +0000 (19:09 +0200)] 
enable zmalloc thread safety support now that we have the bio.c background thread.

13 years agoMerge pull request #77 from Poincare/patch-1
Salvatore Sanfilippo [Wed, 14 Sep 2011 13:27:47 +0000 (06:27 -0700)] 
Merge pull request #77 from Poincare/patch-1

Added note about Tcl

13 years agoOptimize LRANGE to scan the list starting from the head or the tail in order to trave...
antirez [Wed, 14 Sep 2011 13:10:28 +0000 (15:10 +0200)] 
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.

13 years agoDon't replicate/AOF SAVE
antirez [Wed, 14 Sep 2011 11:08:19 +0000 (13:08 +0200)] 
Don't replicate/AOF SAVE

13 years agouse bio.c instead of libeio for closing the AOF file in background. Some comment...
antirez [Tue, 13 Sep 2011 16:27:08 +0000 (18:27 +0200)] 
use bio.c instead of libeio for closing the AOF file in background. Some comment added and other minor changes.

13 years agoAsynchronously close old file after BGREWRITEAOF
Pieter Noordhuis [Thu, 18 Aug 2011 13:49:06 +0000 (15:49 +0200)] 
Asynchronously close old file after BGREWRITEAOF

13 years agotest background close operation removed
antirez [Tue, 13 Sep 2011 14:57:18 +0000 (16:57 +0200)] 
test background close operation removed

13 years agomake bio_list static as well
antirez [Tue, 13 Sep 2011 14:56:43 +0000 (16:56 +0200)] 
make bio_list static as well

13 years agodebug message removed
antirez [Tue, 13 Sep 2011 14:53:33 +0000 (16:53 +0200)] 
debug message removed

13 years agouse pthread_cond_signal() to make sure the background thread will process the job.
antirez [Tue, 13 Sep 2011 14:21:12 +0000 (16:21 +0200)] 
use pthread_cond_signal() to make sure the background thread will process the job.

13 years agotypo fixed in bio.c
antirez [Tue, 13 Sep 2011 14:19:37 +0000 (16:19 +0200)] 
typo fixed in bio.c

13 years agoRemoved no longer useful fields in the redis server structure
antirez [Tue, 13 Sep 2011 14:17:45 +0000 (16:17 +0200)] 
Removed no longer useful fields in the redis server structure

13 years agoadd background jobs initialization to Redis main init function
antirez [Tue, 13 Sep 2011 14:10:26 +0000 (16:10 +0200)] 
add background jobs initialization to Redis main init function

13 years agobio.c typos fixes to make it compile
antirez [Tue, 13 Sep 2011 14:09:06 +0000 (16:09 +0200)] 
bio.c typos fixes to make it compile

13 years agobio.o added to redis-server objects
antirez [Tue, 13 Sep 2011 13:59:48 +0000 (15:59 +0200)] 
bio.o added to redis-server objects

13 years agoSpeed up protocol synthesis for AOF
Pieter Noordhuis [Thu, 18 Aug 2011 11:03:04 +0000 (13:03 +0200)] 
Speed up protocol synthesis for AOF

13 years agoRe-use AOF buffer when it is small enough
Pieter Noordhuis [Thu, 18 Aug 2011 10:44:30 +0000 (12:44 +0200)] 
Re-use AOF buffer when it is small enough

13 years agoFix indent
Pieter Noordhuis [Thu, 18 Aug 2011 10:27:34 +0000 (12:27 +0200)] 
Fix indent

13 years agoadded a newline for code readability
antirez [Tue, 13 Sep 2011 10:21:54 +0000 (12:21 +0200)] 
added a newline for code readability

13 years agoAvoid unnecessary calls to time(3)
Pieter Noordhuis [Thu, 18 Aug 2011 10:25:59 +0000 (12:25 +0200)] 
Avoid unnecessary calls to time(3)

13 years agoRemove the write handler only if there are no longer objects in the output queue...
antirez [Mon, 12 Sep 2011 09:05:48 +0000 (11:05 +0200)] 
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.

13 years agoregression test for bug 593 added
antirez [Mon, 12 Sep 2011 08:53:49 +0000 (10:53 +0200)] 
regression test for bug 593 added

13 years agofixed typos in the comments of rpoplpushHandlePush()
antirez [Mon, 12 Sep 2011 08:04:23 +0000 (10:04 +0200)] 
fixed typos in the comments of rpoplpushHandlePush()

13 years agoFix crash when chaining brpoplpush with other blocking commands.
Hampus Wessman [Wed, 7 Sep 2011 17:08:48 +0000 (19:08 +0200)] 
Fix crash when chaining brpoplpush with other blocking commands.

13 years agoAdded note about Tcl
Poincare [Thu, 25 Aug 2011 10:35:33 +0000 (07:35 -0300)] 
Added note about Tcl

13 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Tue, 9 Aug 2011 09:46:21 +0000 (11:46 +0200)] 
Merge remote-tracking branch 'origin/unstable' into unstable

13 years agoAuto rewrite integer overflow fixed. Thanks to Gaurav for finding it (see issue 602...
antirez [Tue, 9 Aug 2011 09:45:57 +0000 (11:45 +0200)] 
Auto rewrite integer overflow fixed. Thanks to Gaurav for finding it (see issue 602 on google code), and Pieter Noordhuis for tracing it.

13 years ago[issue 620] don't segfault if number of arguments is less than 1
Konstantin Merenkov [Tue, 2 Aug 2011 13:05:04 +0000 (17:05 +0400)] 
[issue 620] don't segfault if number of arguments is less than 1

13 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Thu, 28 Jul 2011 12:40:47 +0000 (14:40 +0200)] 
Merge remote-tracking branch 'origin/unstable' into unstable

13 years agoRegression for a crash with blocking ops and pipelining
antirez [Thu, 28 Jul 2011 12:40:06 +0000 (14:40 +0200)] 
Regression for a crash with blocking ops and pipelining

13 years agoFix crash when pipelining several blocking commands.
Hampus Wessman [Thu, 28 Jul 2011 09:20:42 +0000 (11:20 +0200)] 
Fix crash when pipelining several blocking commands.

13 years agoMerge remote branch 'origin/unstable' into unstable
antirez [Thu, 28 Jul 2011 10:33:17 +0000 (12:33 +0200)] 
Merge remote branch 'origin/unstable' into unstable

13 years agoMaxmemory test
antirez [Thu, 28 Jul 2011 10:32:52 +0000 (12:32 +0200)] 
Maxmemory test

13 years agofixed assert proc on Redis test
antirez [Thu, 28 Jul 2011 10:31:44 +0000 (12:31 +0200)] 
fixed assert proc on Redis test

13 years agoTODO updated
antirez [Wed, 27 Jul 2011 14:39:03 +0000 (16:39 +0200)] 
TODO updated

13 years agoFix adding bulk reply when getcwd fails
Pieter Noordhuis [Wed, 27 Jul 2011 13:03:48 +0000 (15:03 +0200)] 
Fix adding bulk reply when getcwd fails

13 years agoWait for Lua to be built before linking redis-server
Pieter Noordhuis [Wed, 27 Jul 2011 12:46:17 +0000 (14:46 +0200)] 
Wait for Lua to be built before linking redis-server

13 years agoHDEL: Abort deleting fields when hash is removed
Pieter Noordhuis [Wed, 27 Jul 2011 10:29:36 +0000 (12:29 +0200)] 
HDEL: Abort deleting fields when hash is removed

13 years agoClose the listening sockets. Apparently this allows faster restarts.
antirez [Fri, 22 Jul 2011 10:11:40 +0000 (12:11 +0200)] 
Close the listening sockets. Apparently this allows faster restarts.

13 years agoprepareForShutdown() fixed for correctness regarding what to do with AOF and RDB...
antirez [Fri, 22 Jul 2011 09:52:21 +0000 (11:52 +0200)] 
prepareForShutdown() fixed for correctness regarding what to do with AOF and RDB persistence on exit.

13 years agomake a scripting test more valgrind friendly
antirez [Fri, 15 Jul 2011 16:28:24 +0000 (18:28 +0200)] 
make a scripting test more valgrind friendly

13 years agotest that EVALSHA is replicated as EVAL
antirez [Fri, 15 Jul 2011 15:41:40 +0000 (17:41 +0200)] 
test that EVALSHA is replicated as EVAL

13 years agoAdded a 'runtest' script that is responsible to check if Tcl is available and run...
antirez [Fri, 15 Jul 2011 15:20:57 +0000 (17:20 +0200)] 
Added a 'runtest' script that is responsible to check if Tcl is available and run the test. This is invoked from Makefile as well.

13 years agotop level Makefile now just a proxy. Doing make clean inside src now does a full...
antirez [Wed, 13 Jul 2011 17:15:22 +0000 (19:15 +0200)] 
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.

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Wed, 13 Jul 2011 13:38:33 +0000 (15:38 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agoReplicate EVALSHA as EVAL taking a dictionary of sha1 -> script source code.
antirez [Wed, 13 Jul 2011 13:38:03 +0000 (15:38 +0200)] 
Replicate EVALSHA as EVAL taking a dictionary of sha1 -> script source code.

13 years agoscripting.txt file removed, content merged into the TODO file
antirez [Wed, 13 Jul 2011 10:04:02 +0000 (12:04 +0200)] 
scripting.txt file removed, content merged into the TODO file

13 years agoMerge pull request #69 from AquaGeek/patch-1
Salvatore Sanfilippo [Wed, 13 Jul 2011 10:00:28 +0000 (03:00 -0700)] 
Merge pull request #69 from AquaGeek/patch-1

Minor spelling fixes

13 years agoMinor spelling fixes
Tyler Stromberg [Wed, 13 Jul 2011 01:50:18 +0000 (18:50 -0700)] 
Minor spelling fixes

13 years agowhen building redis-server use LINK and not CC as prefix in the output
antirez [Tue, 12 Jul 2011 10:58:32 +0000 (12:58 +0200)] 
when building redis-server use LINK and not CC as prefix in the output

13 years agoFix for a typo left after merging.
antirez [Tue, 12 Jul 2011 10:41:29 +0000 (12:41 +0200)] 
Fix for a typo left after merging.

13 years agomaster branch merged into scripting.
antirez [Tue, 12 Jul 2011 10:39:16 +0000 (12:39 +0200)] 
master branch merged into scripting.

13 years agosolved a slow positive in the slow log test when the test is executed slowly
antirez [Mon, 11 Jul 2011 14:04:18 +0000 (16:04 +0200)] 
solved a slow positive in the slow log test when the test is executed slowly

13 years agofixed another timing issue when running the test over valgrind or with very slow PCs
antirez [Mon, 11 Jul 2011 13:58:31 +0000 (15:58 +0200)] 
fixed another timing issue when running the test over valgrind or with very slow PCs

13 years agoMerge branch 'unstable' of github.com:antirez/redis into unstable
antirez [Mon, 11 Jul 2011 13:45:06 +0000 (15:45 +0200)] 
Merge branch 'unstable' of github.com:antirez/redis into unstable

13 years agofix a test timing issue when running the test over valgrind
antirez [Mon, 11 Jul 2011 13:44:38 +0000 (15:44 +0200)] 
fix a test timing issue when running the test over valgrind

13 years agomake test depends on redis-check-aof as well.
antirez [Mon, 11 Jul 2011 12:48:45 +0000 (14:48 +0200)] 
make test depends on redis-check-aof as well.

13 years agoremoved --file argument from test invocation inside Makefile
antirez [Mon, 11 Jul 2011 11:46:09 +0000 (13:46 +0200)] 
removed --file argument from test invocation inside Makefile

13 years agonew test engine valgrind support
antirez [Mon, 11 Jul 2011 11:41:06 +0000 (13:41 +0200)] 
new test engine valgrind support

13 years agocleanup after test
antirez [Mon, 11 Jul 2011 11:19:42 +0000 (13:19 +0200)] 
cleanup after test

13 years ago--help implemented
antirez [Mon, 11 Jul 2011 11:03:22 +0000 (13:03 +0200)] 
--help implemented

13 years agobetter recap of failed tests.
antirez [Mon, 11 Jul 2011 10:56:00 +0000 (12:56 +0200)] 
better recap of failed tests.

13 years agoinitial support for failed tests summary at end of the test.
antirez [Mon, 11 Jul 2011 10:44:55 +0000 (12:44 +0200)] 
initial support for failed tests summary at end of the test.

13 years agothe test runs less iterations of slow tests if no --accurate is given.
antirez [Mon, 11 Jul 2011 10:15:35 +0000 (12:15 +0200)] 
the test runs less iterations of slow tests if no --accurate is given.

13 years agoimplemented --single, --list-tests. --accurante and --help are now recognized but...
antirez [Mon, 11 Jul 2011 09:59:55 +0000 (11:59 +0200)] 
implemented --single, --list-tests. --accurante and --help are now recognized but not actually implemented.

13 years agolist test further split into smaller units
antirez [Mon, 11 Jul 2011 09:41:23 +0000 (11:41 +0200)] 
list test further split into smaller units

13 years agolist-2 added to the list of tests
antirez [Mon, 11 Jul 2011 09:32:19 +0000 (11:32 +0200)] 
list-2 added to the list of tests

13 years agolist test split into smaller parts
antirez [Mon, 11 Jul 2011 09:30:46 +0000 (11:30 +0200)] 
list test split into smaller parts

13 years agouse tclsh8.5 not only in which but also in the actual test execution.
antirez [Mon, 11 Jul 2011 09:18:46 +0000 (11:18 +0200)] 
use tclsh8.5 not only in which but also in the actual test execution.

13 years agoexplicitly use tclsh8.5 to run the test
antirez [Mon, 11 Jul 2011 09:17:05 +0000 (11:17 +0200)] 
explicitly use tclsh8.5 to run the test

13 years agono longer prints testing... but just shows the test when we get the final result...
antirez [Sun, 10 Jul 2011 22:53:30 +0000 (00:53 +0200)] 
no longer prints testing... but just shows the test when we get the final result from the testing client.

13 years agoreplication test split into three parts in order to improve test execution time....
antirez [Sun, 10 Jul 2011 22:46:25 +0000 (00:46 +0200)] 
replication test split into three parts in order to improve test execution time. Random fixes and improvements.

13 years agodisplay less useless information in parallel test
antirez [Sun, 10 Jul 2011 22:14:12 +0000 (00:14 +0200)] 
display less useless information in parallel test

13 years agosome test colorization and some fix
antirez [Sun, 10 Jul 2011 22:09:56 +0000 (00:09 +0200)] 
some test colorization and some fix