e96e4fbf15
Two important fixes to append only file: zero length values and expires. A pretty neat new test to check consistency of randomly build datasets against snapshotting and AOF.
antirez2009-12-15 13:06:41 -05:00
71c2b467b0
debug loadaof implemented in order to add more consistency tests in test-redis.tcl
antirez2009-12-15 11:15:47 -05:00
e054afda90
Added a new test able to stress a lot the snapshotting engine
antirez2009-12-15 10:55:13 -05:00
ed10f40b15
Unified handling of empty queries with normal queries.
antirez2009-12-15 09:33:29 -05:00
7c49733ce3
Fixed some subtle bug in the command processing code almost impossible to spot in the real world, thanks to gcov
antirez2009-12-15 09:14:40 -05:00
f4d9b3c62a
Regression test for SINTERSTORE added
antirez2009-12-15 04:26:51 -05:00
fc77604c47
a few more tests and ability to run a specific test in test-redis.tcl
antirez2009-12-14 13:48:24 -05:00
49b99ab43e
Changed the reply of BGSAVE and BGREWRITEAOF from +OK to a more meaningful message that makes the user aware of an operation that just started and is not yet finished.
antirez2009-12-13 16:52:43 +01:00
179b395244
Set the master->slave logical client as authenticated on creation, so that if the slave requires a password replication works anyway
antirez2009-12-13 15:09:46 +01:00
b3fad521cc
bgrewriteaof_in_progress added to INFO
antirez2009-12-12 22:41:10 +01:00
3f477979b3
TODO list modified. What's planned for 1.4 is now written in the stone ;)
antirez2009-12-12 19:42:42 +01:00
61c47ecd25
better handling of non blocking connect on redis-benchmark: EPIPE on read does not print an error message now
antirez2009-12-12 00:04:20 +01:00
b32627cdc1
some change to redis-sha1.rb utility to make it more robust against non-meaningful changes in the dataset
antirez2009-12-11 18:45:25 +01:00
454d4e43b5
a bit more verbose -ERR wrong number o arguments error, now gives info about the command name causing the error
antirez2009-12-10 19:35:09 +01:00
333fd21615
TODO change and minor SETNX optimization
antirez2009-12-10 16:38:24 +01:00
231d758eec
in rdbLoadDoubleValue now the buffer is nul terminated correctly. Thanks valgrind.
antirez2009-12-06 01:42:41 +01:00
83c6a61889
printf format warnings fixed by casting
antirez2009-12-06 01:25:37 +01:00
5acdc75d66
Regression tests for SETNX and MSETNX bugs added
antirez2009-12-06 01:16:12 +01:00
906573e78d
SETNX and MSETNX now respect the delete-on-write operation of EXPIREing keys
antirez2009-12-06 01:09:15 +01:00
71c54b21e2
Fixed daemonization when using kqueue/kevent. Now the server initialization is performed *after* the daemonization
antirez2009-12-06 00:59:35 +01:00
5703330151
a few redis-cli format specified fixed
antirez2009-12-05 14:26:05 +01:00
682ac7248a
use __attribute__ format in sdscatprintf() when the compiler is GCC. Fixed format bugs resulting from the new warnings.
antirez2009-12-05 13:50:36 +01:00
9c21a518c3
design documents added to the project
antirez2009-12-01 01:47:58 +01:00
dfc5e96ce5
Fixed issued #85 (getDecodedObject: Assertion 1 != 1 failed. While sorting a set), added a smarter assert() function to dump the stacktrace, provided a macro to initalize Redis objects on the stack to avoid this kind of bugs.
antirez2009-11-30 20:25:06 +01:00
e17e0b0529
fixed a subtle bug in redis-cli not having visible effects
antirez2009-11-30 19:26:52 +01:00
37be276538
enable kqueue/kevent only for Mac OS X 10.6.x as it seems that 10.5.x has a broken implementation of this syscalls.
antirez2009-11-28 20:48:53 +01:00
1c85b79fef
INFO refactored. Stack trace on memory corruption now dumps the same information as the INFO command
antirez2009-11-28 17:13:32 +01:00
7a932b74cc
ifdefs added to use kevent on Free Open and Net BSD as well. INFO and ae.c modified in order to report the multiplexing API in use
antirez2009-11-28 17:06:28 +01:00
1751139117
Enabled object encoding for multiple keys in MSET. Added a test for memory leaks in test-redis.tcl when running on Mac OS X
antirez2009-11-28 16:55:05 +01:00
791445b745
Merge branch 'kqueue' of git://github.com/mallipeddi/redis
antirez2009-11-28 15:44:02 +01:00
1fd9bc8adc
Changes to TODO list, commented a function in redis.c
antirez2009-11-28 15:31:40 +01:00
9d65a1bbae
log rebuilding, random refactoring, work in progress please wait for an OK commit before to use this version
antirez2009-11-26 18:10:02 +01:00
210e29f7d2
DEBUG RELOAD implemented, and test-redis.tcl modified to use it to check for persistence consistency.
antirez2009-11-24 21:44:20 +01:00
1c0abf3c5d
Redis version set to 1.07
antirez2009-11-24 21:29:08 +01:00
214d880b81
minor fix to avoid a false valgrind warning.
antirez2009-11-24 00:18:57 +01:00
7785121a50
epoll support enabled by default for Linux builds
antirez2009-11-23 23:57:04 +01:00
64f36a5836
epoll module for ae.c implemented. Some more testing needed
antirez2009-11-23 23:40:27 +01:00
fb6a196778
commented the HAVE_EPOLL test in config.h to allow compilation under Linux now that the epoll module is still missing
antirez2009-11-23 18:55:35 +01:00
266373b283
ae.c now supports multiple polling API modules, even if only ae_select.c is implemented currently. Also adding and removing an event is now O(1).
antirez2009-11-23 18:50:39 +01:00
5b2a1c292a
ae.c initial refactoring for epoll implementation
antirez2009-11-23 12:00:23 +01:00
a96ffc6641
version incremented up to 1.06
antirez2009-11-21 16:40:08 +01:00
c28b42acd9
more experiments with long replies, glue output buffer, and writev.
antirez2009-11-18 20:32:03 +01:00
cc30e368a3
benchmarking with different number of LRANGE elements. Ability to change the glue output buffer limit by #define
antirez2009-11-18 19:41:25 +01:00
6c4e61b389
redis-benchmark multi bulk reply support hopefully fixed
antirez2009-11-18 18:47:05 +01:00
2895e86267
support for writev implemented but currently ifdef-ed in order to understan why I can't see the improvements expected. Btw code provided by Stefano Barbato
antirez2009-11-17 17:46:44 +01:00
2fd309522d
multi-bulk reply support for redis-bench, and as a result LRANGE is not tested, providing some number for the tuning of multi-bulk requests performances server-side
antirez2009-11-17 16:57:35 +01:00
ef3ac64a27
Solaris fix thanks to Alan Harder
antirez2009-11-12 21:49:15 +01:00