Merge lp:~tsarev/percona-server/5.5-processlist_rows_stats-sporadic_fails-fix into lp:percona-server/5.5
Status: | Merged |
---|---|
Merged at revision: | 142 |
Proposed branch: | lp:~tsarev/percona-server/5.5-processlist_rows_stats-sporadic_fails-fix |
Merge into: | lp:percona-server/5.5 |
Diff against target: |
230 lines (+71/-81) 3 files modified
mysql-test/processlist_row_stats.patch/percona_processlist_row_stats.result (+27/-31) mysql-test/processlist_row_stats.patch/percona_processlist_row_stats.test (+37/-50) mysql-test/processlist_row_stats.patch/percona_processlist_row_stats_show.inc (+7/-0) |
To merge this branch: | bzr merge lp:~tsarev/percona-server/5.5-processlist_rows_stats-sporadic_fails-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Stewart Smith | Pending | ||
Review via email: mp+70332@code.launchpad.net |
This proposal supersedes a proposal from 2011-08-03.
Description of the change
1) Now every time before I call SHOW PROCESSLIST or SELECT ... FROM INFORMATION_
Before that connection conn1 sometime not complete run of previous query, and result of test was sporadic.
Example of fail available here:
http://
Example of fail:
Id User Host db Command Time State Info Rows_sent Rows_examined Rows_read
### root ### test Query ### ### SHOW PROCESSLIST 0 0 4
-### root ### test Sleep ### ### NULL 0 0 1
+### root ### test Query ### ### CREATE TABLE t1 (a INT) 0 0 1
### root ### test Query ### ### SELECT a FROM t2 WHERE a > 15 1 0 3
As you can see, conn1 not complete yet CREATE TABLE (table was created, but thread not switched to state "Sleep" yet)
2) I removed useless echo messages. This messages doesn't have any usefull information, but do noise in output
3) Also I extend test by additional queries (need for (1) - consistent state of 1)
LGTM if the Jenkins test results are clean