Test connect_debug is unstable
Bug #1622977 reported by
Laurynas Biveinis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On 5.6 trunk:
main.connect_debug w3 [ fail ]
Test ended at 2016-08-31 09:12:25
CURRENT_TEST: main.connect_debug
mysqltest: At line 63: query 'connect con_3, localhost, root' failed: 1040: Too many connections
...
A potential reason is the testcase using processlist to sync whereas the server internally uses the variable exposed as Threads_connected to make the "too many connections decision." Since the connection is removed from processlist before decrementing Threads_connected, this creates a race condition. The 5.7 version of the testcase should be backported which used wait_until_
tags: | added: ci upstream |
To post a comment you must log in.
https:/ /github. com/percona/ percona- server/ pull/1000 /github. com/percona/ percona- server/ pull/1001
https:/