]> git.saurik.com Git - redis.git/log
redis.git
12 years agoDo not propagate DEBUG LOADAOF
antirez [Tue, 20 Dec 2011 16:52:57 +0000 (17:52 +0100)] 
Do not propagate DEBUG LOADAOF

12 years agostartAppendOnly() fixed to set server.appendonly to 0 if the start failed.
antirez [Tue, 20 Dec 2011 16:00:27 +0000 (17:00 +0100)] 
startAppendOnly() fixed to set server.appendonly to 0 if the start failed.

12 years agoMerge remote-tracking branch 'origin/unstable' into aof-fixes
antirez [Tue, 20 Dec 2011 09:29:33 +0000 (10:29 +0100)] 
Merge remote-tracking branch 'origin/unstable' into aof-fixes

12 years agoversion bumped to 2.9.2
antirez [Mon, 19 Dec 2011 09:55:31 +0000 (10:55 +0100)] 
version bumped to 2.9.2

12 years agounit/introspection.tcl added
antirez [Mon, 19 Dec 2011 09:21:50 +0000 (10:21 +0100)] 
unit/introspection.tcl added

12 years agounit/introspection added among tests executed by default
antirez [Mon, 19 Dec 2011 09:18:21 +0000 (10:18 +0100)] 
unit/introspection added among tests executed by default

12 years agoFixed memleak in CLIENT INFO, added simple test that will work as regression test...
antirez [Mon, 19 Dec 2011 09:16:37 +0000 (10:16 +0100)] 
Fixed memleak in CLIENT INFO, added simple test that will work as regression test on mac os x and in the CI when running over valgrind. This fixes issue #256

12 years agoadded assertion in zslInsert() that ensures the inserted element score is not NaN
antirez [Sun, 18 Dec 2011 10:12:58 +0000 (11:12 +0100)] 
added assertion in zslInsert() that ensures the inserted element score is not NaN

12 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Fri, 16 Dec 2011 08:56:12 +0000 (09:56 +0100)] 
Merge remote-tracking branch 'origin/unstable' into unstable

12 years agoae.c: solved a memory leak with no practical effects (since the event
antirez [Fri, 16 Dec 2011 08:55:01 +0000 (09:55 +0100)] 
ae.c: solved a memory leak with no practical effects (since the event
loop is never destroyed in Redis). Thanks to @anydot for noticing it.

12 years agoFix: when aof_write_rewrite is true don't append on the AOF buffer but accumulate...
antirez [Thu, 15 Dec 2011 19:03:28 +0000 (20:03 +0100)] 
Fix: when aof_write_rewrite is true don't append on the AOF buffer but accumulate the differences for the rewrite.

12 years agoAOF fixes in the context of replicaiton (when AOF is used by slave) and CONFIG SET...
antirez [Thu, 15 Dec 2011 15:07:49 +0000 (16:07 +0100)] 
AOF fixes in the context of replicaiton (when AOF is used by slave) and CONFIG SET appendonly yes/no.

12 years agoae_epoll.c typo introduced in the previous commit fixed.
antirez [Thu, 15 Dec 2011 10:50:15 +0000 (11:50 +0100)] 
ae_epoll.c typo introduced in the previous commit fixed.

12 years agoMax limit to 10k clients removed, this implements feature request on issue #194
antirez [Thu, 15 Dec 2011 10:42:40 +0000 (11:42 +0100)] 
Max limit to 10k clients removed, this implements feature request on issue #194

12 years agoList connected slaves with ip,port,state information in INFO, as requested by github...
antirez [Wed, 14 Dec 2011 14:11:11 +0000 (15:11 +0100)] 
List connected slaves with ip,port,state information in INFO, as requested by github issue #219

12 years agoversion bumped to 2.9.1
antirez [Tue, 13 Dec 2011 17:07:21 +0000 (18:07 +0100)] 
version bumped to 2.9.1

12 years agoredis-cli --eval implemented
antirez [Tue, 13 Dec 2011 15:22:28 +0000 (16:22 +0100)] 
redis-cli --eval implemented

12 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Tue, 13 Dec 2011 10:16:34 +0000 (11:16 +0100)] 
Merge remote-tracking branch 'origin/unstable' into unstable

12 years agoHash type AOF rewrite using HMSET.
antirez [Mon, 12 Dec 2011 16:39:23 +0000 (17:39 +0100)] 
Hash type AOF rewrite using HMSET.

12 years agoSorted Set type AOF rewrite using variadic ZADD.
antirez [Mon, 12 Dec 2011 16:27:39 +0000 (17:27 +0100)] 
Sorted Set type AOF rewrite using variadic ZADD.

12 years agoSet type AOF rewrite using variadic SADD.
antirez [Mon, 12 Dec 2011 14:57:51 +0000 (15:57 +0100)] 
Set type AOF rewrite using variadic SADD.

12 years agoAdded tests for AOF rewrite.
antirez [Mon, 12 Dec 2011 14:34:00 +0000 (15:34 +0100)] 
Added tests for AOF rewrite.

12 years agoList type AOF rewrite using variadic RPUSH for the linked list encoding.
antirez [Wed, 7 Dec 2011 10:34:25 +0000 (11:34 +0100)] 
List type AOF rewrite using variadic RPUSH for the linked list encoding.

12 years agoLists AOF rewrite using variadic RPUSH (work in progress)
antirez [Tue, 6 Dec 2011 17:22:52 +0000 (18:22 +0100)] 
Lists AOF rewrite using variadic RPUSH (work in progress)

12 years agoRedis test: vaoid two false positives while running under valgrind.
antirez [Sat, 10 Dec 2011 12:28:32 +0000 (13:28 +0100)] 
Redis test: vaoid two false positives while running under valgrind.

12 years agoRedis test: two redundant tests removed as they tend to create issues when running...
antirez [Wed, 7 Dec 2011 17:31:39 +0000 (18:31 +0100)] 
Redis test: two redundant tests removed as they tend to create issues when running the test with valgrind.

12 years agoRedis test: wait more time for the server to start if it is running using valgrind.
antirez [Wed, 7 Dec 2011 16:51:21 +0000 (17:51 +0100)] 
Redis test: wait more time for the server to start if it is running using valgrind.

12 years agoRedis test port allocation fixed.
antirez [Wed, 7 Dec 2011 16:15:17 +0000 (17:15 +0100)] 
Redis test port allocation fixed.

12 years agoEXPIRE tests more tolerant to random latency while the test is running.
antirez [Wed, 7 Dec 2011 11:44:27 +0000 (12:44 +0100)] 
EXPIRE tests more tolerant to random latency while the test is running.

12 years agoRedis test: handle inability to start the server in a better way.
antirez [Wed, 7 Dec 2011 10:47:38 +0000 (11:47 +0100)] 
Redis test: handle inability to start the server in a better way.

12 years agoFixed a theoretical memory leak with no practical effects in ae_kqueue.c and ae_epoll...
antirez [Wed, 7 Dec 2011 07:58:29 +0000 (08:58 +0100)] 
Fixed a theoretical memory leak with no practical effects in ae_kqueue.c and ae_epoll.c, thanks to magicyang87 for reporting it.

12 years agoFixed SORT bugs (issue #224) with regression tests.
antirez [Thu, 1 Dec 2011 15:07:55 +0000 (16:07 +0100)] 
Fixed SORT bugs (issue #224) with regression tests.

12 years agoDocument the redis-server cli options in the README
antirez [Thu, 1 Dec 2011 14:40:49 +0000 (15:40 +0100)] 
Document the redis-server cli options in the README

12 years agousage information updated to reflect the new way to pass options to Redis from the...
antirez [Thu, 1 Dec 2011 12:50:36 +0000 (13:50 +0100)] 
usage information updated to reflect the new way to pass options to Redis from the command line.

12 years agoEven when loglevel is warning the server should log that it started.
antirez [Thu, 1 Dec 2011 12:45:19 +0000 (13:45 +0100)] 
Even when loglevel is warning the server should log that it started.

12 years agoSupport for command line configuration options for redis-server.
antirez [Thu, 1 Dec 2011 12:44:53 +0000 (13:44 +0100)] 
Support for command line configuration options for redis-server.

12 years ago-h is now alias for --help when running redis-server.
antirez [Thu, 1 Dec 2011 11:18:22 +0000 (12:18 +0100)] 
-h is now alias for --help when running redis-server.

12 years agoI like when main() is the last function in the file.
antirez [Thu, 1 Dec 2011 11:15:44 +0000 (12:15 +0100)] 
I like when main() is the last function in the file.

12 years agoReplication bug fixed: now non blocking connect is also forced to follow the configur...
antirez [Wed, 30 Nov 2011 14:35:16 +0000 (15:35 +0100)] 
Replication bug fixed: now non blocking connect is also forced to follow the configured replication timeout.

12 years agodefault log level is now notice.
antirez [Wed, 30 Nov 2011 14:04:40 +0000 (15:04 +0100)] 
default log level is now notice.

12 years ago--quiet option implemented in the Redis test. Output improved a bit.
antirez [Tue, 29 Nov 2011 15:29:12 +0000 (16:29 +0100)] 
--quiet option implemented in the Redis test. Output improved a bit.

12 years agoshow initial querybuf bytes on querybuf overflow.
antirez [Fri, 25 Nov 2011 16:08:25 +0000 (17:08 +0100)] 
show initial querybuf bytes on querybuf overflow.

12 years agotwo new AOF related INFO fields that can be interesting information for debugging.
antirez [Mon, 28 Nov 2011 10:04:03 +0000 (11:04 +0100)] 
two new AOF related INFO fields that can be interesting information for debugging.

13 years agostill problems with the AOF race regression test, disabling it again for now
antirez [Mon, 28 Nov 2011 09:35:30 +0000 (10:35 +0100)] 
still problems with the AOF race regression test, disabling it again for now

13 years agojemalloc gitignore updated to jemalloc 2.2.5
antirez [Fri, 25 Nov 2011 15:40:15 +0000 (16:40 +0100)] 
jemalloc gitignore updated to jemalloc 2.2.5

13 years agoMerge pull request #208 from jbergstroem/jemalloc-2.2.5
Salvatore Sanfilippo [Fri, 25 Nov 2011 15:29:55 +0000 (07:29 -0800)] 
Merge pull request #208 from jbergstroem/jemalloc-2.2.5

Update to jemalloc 2.2.5

13 years agolog client protocol errors for log level >= verbose
antirez [Fri, 25 Nov 2011 15:09:16 +0000 (16:09 +0100)] 
log client protocol errors for log level >= verbose

13 years agoAdded regression tests for issue #209
antirez [Fri, 25 Nov 2011 11:27:00 +0000 (12:27 +0100)] 
Added regression tests for issue #209

13 years agoMerge pull request #209 from woowenjie/unstable
Salvatore Sanfilippo [Fri, 25 Nov 2011 11:13:10 +0000 (03:13 -0800)] 
Merge pull request #209 from woowenjie/unstable

clean REDIS_DIRTY_CAS when discard Command runs. otherwise the next MULT...

13 years agoclean REDIS_DIRTY_CAS when discard Command runs. otherwise the next MULTI/EXEC may...
woowenjie [Fri, 25 Nov 2011 02:34:05 +0000 (10:34 +0800)] 
clean REDIS_DIRTY_CAS when discard Command runs. otherwise the next MULTI/EXEC may fail in the same RedisClient

13 years agobetter bug report info on crash
antirez [Thu, 24 Nov 2011 14:47:26 +0000 (15:47 +0100)] 
better bug report info on crash

13 years agominor refactoring to networking.c adding a separated function to get a string represe...
antirez [Thu, 24 Nov 2011 14:04:42 +0000 (15:04 +0100)] 
minor refactoring to networking.c adding a separated function to get a string representing the current state of all the connected clients.

13 years agolast executed command in CLIENT LIST output.
antirez [Thu, 24 Nov 2011 13:56:34 +0000 (14:56 +0100)] 
last executed command in CLIENT LIST output.

13 years agoUpdate to jemalloc 2.2.5
jbergstroem [Wed, 23 Nov 2011 20:36:25 +0000 (21:36 +0100)] 
Update to jemalloc 2.2.5

13 years agonew counter in INFO output: rejected_connections with number of dropped connections...
antirez [Wed, 23 Nov 2011 17:38:12 +0000 (18:38 +0100)] 
new counter in INFO output: rejected_connections with number of dropped connections because of maxclients limit reached.

13 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Tue, 22 Nov 2011 13:27:53 +0000 (14:27 +0100)] 
Merge remote-tracking branch 'origin/unstable' into unstable

13 years agoMore fixes in the Redis command table, to make sure all the keys are detected by...
antirez [Tue, 22 Nov 2011 13:27:32 +0000 (14:27 +0100)] 
More fixes in the Redis command table, to make sure all the keys are detected by Redis Cluster.

13 years agoMerge pull request #199 from jerem/patch-1
Salvatore Sanfilippo [Tue, 22 Nov 2011 10:43:28 +0000 (02:43 -0800)] 
Merge pull request #199 from jerem/patch-1

Fixed a typo in comments.

13 years agoFixed command table for SETEX and PSETEX causing the expire time to be hashed by...
antirez [Tue, 22 Nov 2011 09:16:15 +0000 (10:16 +0100)] 
Fixed command table for SETEX and PSETEX causing the expire time to be hashed by Redis cluster instead of the key.

13 years agocomment describing the Redis command table enhanced
antirez [Tue, 22 Nov 2011 09:13:45 +0000 (10:13 +0100)] 
comment describing the Redis command table enhanced

13 years agoFixed bug in getClientInfoString() that was not rendering the N (no flags) special...
antirez [Mon, 21 Nov 2011 15:19:30 +0000 (16:19 +0100)] 
Fixed bug in getClientInfoString() that was not rendering the N (no flags) special flag correctly.

13 years agoClose client connection and log the event when the client input buffer reaches 1GB.
antirez [Mon, 21 Nov 2011 15:17:51 +0000 (16:17 +0100)] 
Close client connection and log the event when the client input buffer reaches 1GB.

13 years agoshow active events in client file descriptor in CLIENT LIST.
antirez [Mon, 21 Nov 2011 15:06:03 +0000 (16:06 +0100)] 
show active events in client file descriptor in CLIENT LIST.

13 years agonew ae.c API to get current events by file descriptor.
antirez [Mon, 21 Nov 2011 15:05:29 +0000 (16:05 +0100)] 
new ae.c API to get current events by file descriptor.

13 years agoadded output list and buffer length, query buffer size, to CLIENT LIST output.
antirez [Mon, 21 Nov 2011 14:54:49 +0000 (15:54 +0100)] 
added output list and buffer length, query buffer size, to CLIENT LIST output.

13 years agofile .prerequisites added to gitignore
antirez [Mon, 21 Nov 2011 14:35:54 +0000 (15:35 +0100)] 
file .prerequisites added to gitignore

13 years agocode generating the CLIENT LIST output refactored to have a function that is able...
antirez [Mon, 21 Nov 2011 14:34:32 +0000 (15:34 +0100)] 
code generating the CLIENT LIST output refactored to have a function that is able to render a single client into a client info string.

13 years agoAdded sdscatsds() to sds.c/h
antirez [Mon, 21 Nov 2011 14:34:00 +0000 (15:34 +0100)] 
Added sdscatsds() to sds.c/h

13 years agoFixed a comment typo in the command table.
antirez [Mon, 21 Nov 2011 09:55:52 +0000 (10:55 +0100)] 
Fixed a comment typo in the command table.

13 years agoFixed a typo in comments.
Jérémy Bethmont [Mon, 21 Nov 2011 01:38:14 +0000 (09:38 +0800)] 
Fixed a typo in comments.

13 years agoMerge remote-tracking branch 'origin/unstable' into unstable
antirez [Fri, 18 Nov 2011 15:30:26 +0000 (16:30 +0100)] 
Merge remote-tracking branch 'origin/unstable' into unstable

13 years agoredis.conf updated to reflect the new scripting timeout semantics.
antirez [Fri, 18 Nov 2011 15:29:22 +0000 (16:29 +0100)] 
redis.conf updated to reflect the new scripting timeout semantics.

13 years agoaof-race test reenabled now that port allocation of the test suite is smarter
antirez [Fri, 18 Nov 2011 14:53:47 +0000 (15:53 +0100)] 
aof-race test reenabled now that port allocation of the test suite is smarter

13 years agoMerge pull request #173 from jasondavies/typo
Salvatore Sanfilippo [Fri, 18 Nov 2011 13:34:56 +0000 (05:34 -0800)] 
Merge pull request #173 from jasondavies/typo

Fix some minor typos.

13 years agoprevent (more) commands from Lua scripts
antirez [Fri, 18 Nov 2011 13:23:38 +0000 (14:23 +0100)] 
prevent (more) commands from Lua scripts

13 years agoNew script timeout semantics and SCRIPT KILL implemented. SHUTDOWN NOSAVE and SHUTDOW...
antirez [Fri, 18 Nov 2011 13:10:48 +0000 (14:10 +0100)] 
New script timeout semantics and SCRIPT KILL implemented. SHUTDOWN NOSAVE and SHUTDOWN SAVE implemented.

13 years agoMerge pull request #193 from lamby/sparc-crash
Salvatore Sanfilippo [Wed, 16 Nov 2011 17:23:19 +0000 (09:23 -0800)] 
Merge pull request #193 from lamby/sparc-crash

Fix crash on SPARC due to improper alignment of allocated memory

13 years agoFix crash on SPARC due to improper alignment of allocated memory
Chris Lamb [Wed, 16 Nov 2011 17:21:16 +0000 (17:21 +0000)] 
Fix crash on SPARC due to improper alignment of allocated memory

I believe that you should be able to drop 'defined(__sun)' completely
from this clause, as Solaris on x86 hardware probably does not have
strict alignment requirements, but I don't have a way to test that.

Thanks to Jurij Smakov <jurij@wooyd.org>.

Signed-off-by: Chris Lamb <lamby@debian.org>
13 years agoDon't force rebuild when params didn't change
Pieter Noordhuis [Wed, 16 Nov 2011 16:34:42 +0000 (08:34 -0800)] 
Don't force rebuild when params didn't change

13 years agomore valgrind (and other archs) friendly testing of floating number related features.
antirez [Wed, 16 Nov 2011 13:40:50 +0000 (14:40 +0100)] 
more valgrind (and other archs) friendly testing of floating number related features.

13 years agovalgrind handles floating point numbers differently for some reason, so using "simple...
antirez [Wed, 16 Nov 2011 12:30:43 +0000 (13:30 +0100)] 
valgrind handles floating point numbers differently for some reason, so using "simpler" numbers to make tests happy.

13 years agoMerge pull request #192 from pietern/makefile
Salvatore Sanfilippo [Wed, 16 Nov 2011 09:29:42 +0000 (01:29 -0800)] 
Merge pull request #192 from pietern/makefile

Add separate clean/distclean targets to Makefile

13 years agoUpdate README on allocators
Pieter Noordhuis [Tue, 15 Nov 2011 21:28:57 +0000 (13:28 -0800)] 
Update README on allocators

13 years agoRebuild source when allocator changes
Pieter Noordhuis [Tue, 15 Nov 2011 21:09:31 +0000 (13:09 -0800)] 
Rebuild source when allocator changes

To do so, the Makefile stores the contents of the MALLOC environment
variable in a file named .make-malloc. When the contents of this file
and the MALLOC variable are not equal, it forces a rebuild of the Redis
source tree.

A side-effect of this change is that choosing an allocator can now be
done using the single MALLOC variable instead of USE_TCMALLOC,
USE_JEMALLOC and so forth. These variables continue to work for
backwards compatibility.

13 years agoRebuild deps/ and src/ when ARCH changes
Pieter Noordhuis [Tue, 15 Nov 2011 20:40:49 +0000 (12:40 -0800)] 
Rebuild deps/ and src/ when ARCH changes

This change moves the build instructions for dependencies to a separate
Makefile in deps/. The ARCH environment variable is stored in a
.make-arch file in the same directory as the Makefile. The contents of
this file is read and compared to the current ARCH, and, on a mismatch
triggers rebuilding the entire source tree.

When file .make-arch exists and matches with ARCH from the environment,
the dependencies are assumed to already be built.

The new "clean" target only cleans the Redis source tree, not its
dependencies. To clear the dependencies as well, the "distclean" target
can be used.

13 years agoUse CCLINK as last argument
Pieter Noordhuis [Tue, 15 Nov 2011 17:39:38 +0000 (09:39 -0800)] 
Use CCLINK as last argument

13 years agoCCLINK already includes ALLOC_LINK
Pieter Noordhuis [Tue, 15 Nov 2011 17:36:13 +0000 (09:36 -0800)] 
CCLINK already includes ALLOC_LINK

13 years agoMerge pull request #181 from redsquirrel/unstable
Salvatore Sanfilippo [Tue, 15 Nov 2011 14:36:53 +0000 (06:36 -0800)] 
Merge pull request #181 from redsquirrel/unstable

Fixing inject: it was failing when there was 1 or >2 sources

13 years agoHINCRBYFLOAT tests
antirez [Tue, 15 Nov 2011 14:26:10 +0000 (15:26 +0100)] 
HINCRBYFLOAT tests

13 years agoHINCRBYFLOAT implemented
antirez [Tue, 15 Nov 2011 14:09:39 +0000 (15:09 +0100)] 
HINCRBYFLOAT implemented

13 years agoMerge branch 'unstable' into incrbyfloat
antirez [Mon, 14 Nov 2011 14:59:56 +0000 (15:59 +0100)] 
Merge branch 'unstable' into incrbyfloat

13 years agotest for the new more strict behavior about number parsing
antirez [Mon, 14 Nov 2011 14:39:55 +0000 (15:39 +0100)] 
test for the new more strict behavior about number parsing

13 years agoINCRBYFLOAT tests
antirez [Mon, 14 Nov 2011 14:37:13 +0000 (15:37 +0100)] 
INCRBYFLOAT tests

13 years agostring to number API is now more strict not accepting spaces before or after the...
antirez [Mon, 14 Nov 2011 14:34:44 +0000 (15:34 +0100)] 
string to number API is now more strict not accepting spaces before or after the number. A few tests converted to match the new error messages using the word float instead of double.

13 years agorewrite INCRBYFLOAT as SETs for AOF/replication
antirez [Mon, 14 Nov 2011 09:15:13 +0000 (10:15 +0100)] 
rewrite INCRBYFLOAT as SETs for AOF/replication

13 years agoINCRBYFLOAT implementation
antirez [Sat, 12 Nov 2011 18:27:35 +0000 (19:27 +0100)] 
INCRBYFLOAT implementation

13 years agoAdded test to make sure Redis evicts expired keys actively (and not just in a lazy...
antirez [Sat, 12 Nov 2011 10:27:38 +0000 (11:27 +0100)] 
Added test to make sure Redis evicts expired keys actively (and not just in a lazy fashion).

13 years agoFixed issues with expire introduced with latest millisecond resolution feature. Many...
antirez [Sat, 12 Nov 2011 00:04:27 +0000 (01:04 +0100)] 
Fixed issues with expire introduced with latest millisecond resolution feature. Many time_t were not converted to long long, and one time() call was not replaced with mstime().

13 years agoset default client timeout to zero inside redis.h as well
antirez [Fri, 11 Nov 2011 16:16:03 +0000 (17:16 +0100)] 
set default client timeout to zero inside redis.h as well

13 years agonew tests for EXPIRE family functions, new millisecond precision, and new millisecond...
antirez [Fri, 11 Nov 2011 14:11:50 +0000 (15:11 +0100)] 
new tests for EXPIRE family functions, new millisecond precision, and new millisecond argument variants.