提交 483049a7 编写于 作者: A antirez

Regression for epoll bug in redis-test.tcl, version is now 1.1.93

上级 67669f00
2009-12-16 Fixed a lame epoll issue
2009-12-15 html doc updated
2009-12-15 version is now 1.1.92
2009-12-15 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.
2009-12-15 debug loadaof implemented in order to add more consistency tests in test-redis.tcl
2009-12-15 Added a new test able to stress a lot the snapshotting engine
2009-12-15 Unified handling of empty queries with normal queries.
2009-12-15 Fixed some subtle bug in the command processing code almost impossible to spot in the real world, thanks to gcov
2009-12-15 Regression test for SINTERSTORE added
2009-12-15 Fixed issue #121
2009-12-14 a few more tests and ability to run a specific test in test-redis.tcl
2009-12-13 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.
2009-12-13 Set the master->slave logical client as authenticated on creation, so that if the slave requires a password replication works anyway
2009-12-13 TODO update
2009-12-12 bgrewriteaof_in_progress added to INFO
2009-12-12 TODO list modified. What's planned for 1.4 is now written in the stone ;)
2009-12-12 better handling of non blocking connect on redis-benchmark: EPIPE on read does not print an error message now
2009-12-11 some change to redis-sha1.rb utility to make it more robust against non-meaningful changes in the dataset
2009-12-10 redis-sha1.rb utility updated
2009-12-10 a bit more verbose -ERR wrong number o arguments error, now gives info about the command name causing the error
2009-12-10 TODO change and minor SETNX optimization
2009-12-06 in rdbLoadDoubleValue now the buffer is nul terminated correctly. Thanks valgrind.
2009-12-06 printf format warnings fixed by casting
2009-12-06 Regression tests for SETNX and MSETNX bugs added
2009-12-06 SETNX and MSETNX now respect the delete-on-write operation of EXPIREing keys
2009-12-06 Fixed daemonization when using kqueue/kevent. Now the server initialization is performed *after* the daemonization
2009-12-05 more HTML doc changes
2009-12-05 HTML doc update
2009-12-05 a few redis-cli format specified fixed
......
......@@ -27,7 +27,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#define REDIS_VERSION "1.1.92"
#define REDIS_VERSION "1.1.93"
#include "fmacros.h"
#include "config.h"
......
......@@ -1449,6 +1449,32 @@ proc main {server port} {
list $e1 $e2
} {1 1}
test {PIPELINING stresser (also a regression for the old epoll bug)} {
set fd2 [socket 127.0.0.1 6379]
fconfigure $fd2 -encoding binary -translation binary
for {set i 0} {$i < 100000} {incr i} {
set q {}
set val "0000${i}0000"
append q "SET key:$i [string length $val]\r\n$val\r\n"
puts -nonewline $fd2 $q
set q {}
append q "GET key:$i\r\n"
puts -nonewline $fd2 $q
}
flush $fd2
for {set i 0} {$i < 100000} {incr i} {
gets $fd2 line
gets $fd2 count
set count [string range $count 1 end]
set val [read $fd2 $count]
read $fd2 2
}
close $fd2
set _ 1
} {1}
# Leave the user with a clean DB before to exit
test {FLUSHDB} {
set aux {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册