Bug #33771 | -mysqld=--thread-handling=pool-of-threads causes the tests to fail | ||
---|---|---|---|
Submitted: | 9 Jan 2008 14:43 | Modified: | 26 Apr 2008 3:28 |
Reporter: | Georgi Kodinov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 6.0 BK | OS: | Linux (Fedora 8) |
Assigned to: | Davi Arnaut | CPU Architecture: | Any |
Tags: | libevent, thread |
[9 Jan 2008 14:43]
Georgi Kodinov
[23 Jan 2008 21:21]
Timothy Smith
Hi, I've got the same results on current -6.0, -6.0-build, and -5.2-maint (a 6.0 clone). For the error_simulation test, I did some exploration. In this particular case, if the entire server is started with --tmp-table-size=1024 then the test succeeds. However, it's not enough to just do SET GLOBAL tmp_table_size=1024 in a running server, because this doesn't affect pooled threads which are already running, it only affects new threads. Regards, Timothy
[19 Feb 2008 11:08]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/42538 ChangeSet@1.2578, 2008-02-19 13:08:33+02:00, gkodinov@magare.gmz +1 -0 Disabled the libevent tests for autopush. See bug #33771 for details
[13 Mar 2008 19:28]
Bugs System
Pushed into 6.0.5-alpha
[21 Apr 2008 13:27]
Davi Arnaut
SWAP_DEBUG_EXPLAIN pops and pushes a debug session, when popped/push the "default" settings are dropped, breaking any test case which relies on --loose-debug=d,dbug_execute_if_keyword. One option is to convert the test cases to use set session debug in the mean time.
[24 Apr 2008 11:55]
Davi Arnaut
SSL related failures fixed in 6.0-runtime: ChangeSet@stripped, 2008-04-23 09:33:25-03:00, davi@stripped +3 -0 Fix for main.ssl and main.ssl_compress test case failures under pool-of-threads. The problem is that the SSL layer has a read buffer and might read more data than requested by the VIO layer. The SSL layer empties the socket buffer which causes the socket to not be signaled for IO if the client is waiting for a command which is sitting in the read buffer. The solution is to retrieve from the transport layer the number of bytes waiting in the read buffer. The data in the read buffer needs to be processed before waiting for more data.
[26 Apr 2008 3:28]
Davi Arnaut
Pushed to 6.0-runtime ChangeSet@1.2630, 2008-04-25 22:45:33+04:00, kostja@bodhi.(none) +5 -0 Fix failure of error_simulation test in 'pst' build (prepared statements protocol + pool-of-threads).