Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6, 10.11, 11.4
-
None
Description
Output taken from 10.11, after 3ee6f69d49a
rpl.rpl_parallel_gco_wait_kill 'stmt' w1 [ fail ]
|
Test ended at 2025-01-13 07:32:20
|
|
CURRENT_TEST: rpl.rpl_parallel_gco_wait_kill
|
mysqltest: At line 334: Can't initialize replace from 'replace_result $thd_id THD_ID'
|
|
The result from queries just before the failure was:
|
< snip >
|
SET GLOBAL slave_parallel_threads=10;
|
include/start_slave.inc
|
*** 5. Test killing thread that is waiting for queue of max length to shorten ***
|
SET @old_max_queued= @@GLOBAL.slave_parallel_max_queued;
|
SET GLOBAL slave_parallel_max_queued=9000;
|
connection server_1;
|
INSERT INTO t3 VALUES (80, foo(0,
|
'ha_write_row_end SIGNAL query_waiting WAIT_FOR query_cont', ''));
|
connection server_2;
|
SET debug_sync='now WAIT_FOR query_waiting';
|
SET @old_dbug= @@GLOBAL.debug_dbug;
|
SET GLOBAL debug_dbug="+d,rpl_parallel_wait_queue_max";
|
connection server_1;
|
SELECT * FROM t3 WHERE a >= 80 ORDER BY a;
|
a b
|
80 0
|
81 10000
|
100 100
|
connection server_2;
|
SET debug_sync='now WAIT_FOR wait_queue_ready';
|
|
More results from queries before failure can be found in /dev/shm/var/1/log/rpl_parallel_gco_wait_kill.log
|
|
- saving '/dev/shm/var/1/log/rpl.rpl_parallel_gco_wait_kill-stmt/' to '/dev/shm/var/log/rpl.rpl_parallel_gco_wait_kill-stmt/'
|
|
Retrying test rpl.rpl_parallel_gco_wait_kill, attempt(2/2)...
|
Pushed into 10.5 as cb5dd76959859e465828672dedff6c7ee0811a06
There will be a merge conflict in 10.11, please resolve by taking the new change:
diff --git a/mysql-test/suite/rpl/t/rpl_parallel_gco_wait_kill.test b/mysql-test/suite/rpl/t/rpl_parallel_gco_wait_kill.test
index eef57dafde2..8414b31947a 100644
--- a/mysql-test/suite/rpl/t/rpl_parallel_gco_wait_kill.test
+++ b/mysql-test/suite/rpl/t/rpl_parallel_gco_wait_kill.test
@@ -300,11 +300,7 @@ SET GLOBAL slave_parallel_threads=10;
# Find the thread id of the driver SQL thread that we want to kill.
--let $wait_condition= SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%Slave has read all relay log%'
--source include/wait_condition.inc
-<<<<<<< HEAD
---let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE '%relay log%'`
-=======
--let $thd_id= `SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND LIKE 'Slave_SQL'`
->>>>>>> cb5dd769598 (MDEV-35938: rpl.rpl_parallel_gco_wait_kill fails - "Can't initialize replace ...")
SET @old_max_queued= @@GLOBAL.slave_parallel_max_queued;
SET GLOBAL slave_parallel_max_queued=9000;