Test sys_vars.rpl_init_slave_func is unstable
Bug #1658006 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 |
New
|
Low
|
Unassigned | |||
5.6 |
Fix Released
|
Low
|
Laurynas Biveinis | |||
5.7 |
Fix Released
|
Low
|
Laurynas Biveinis |
Bug Description
On 5.6 trunk:
sys_vars.
Test ended at 2016-12-23 09:37:59
CURRENT_TEST: sys_vars.
mysqltest: In included file "./include/
included from ./include/
At line 66: Test assertion failed in assert.inc
...
Assertion text: '@@global.
Assertion condition: '@@global.
Assertion condition, interpolated: '@@global.
Assertion result: '0'
This is also https:/
tags: | added: ci upstream |
To post a comment you must log in.
A new failure with extra diagnostics:
CURRENT_TEST: sys_vars. rpl_init_ slave_func assert. inc": assert. inc at line 75: max_connections = @start_ max_connections ' max_connections = @start_ max_connections ' max_connections = @start_ max_connections ' max_connections , @start_ max_connections ; max_connections @start_ max_connections
mysqltest: In included file "./include/
included from ./include/
At line 74: Test assertion failed in assert.inc
...
Assertion text: '@@global.
Assertion condition: '@@global.
Assertion condition, interpolated: '@@global.
Assertion result: '0'
Assertion debug statement:
SELECT @@global.
@@global.
152 151
This shows that init_slave command has been executed already. It is possible because of a race condition: the slave SQL thread is set to running state very early in its initialisation, and before running the init_slave command. Thus, it's possible that the initial "source include/ master- slave.inc; " pick up the command.