mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Removing sleeps; rpl_row_basic_8partition falls from 2 minutes
15 seconds to less than a second. The sleeps used to be necessary but not anymore as NDB has been fixed wrt sync_slave_with_master. mysql-test/include/rpl_multi_engine3.inc: Sleeps are not necessary anymore because NDB has been fixed wrt sync_slave_with_master.
This commit is contained in:
parent
06ab97125e
commit
a6a1aba27a
1 changed files with 0 additions and 3 deletions
|
@ -28,7 +28,6 @@ INSERT INTO t1 VALUES(412,1,'Testing MySQL databases is a cool ',
|
|||
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
|
||||
|
||||
sync_slave_with_master;
|
||||
--sleep 5
|
||||
--echo --- Select from t1 on slave ---
|
||||
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
|
||||
|
||||
|
@ -44,7 +43,6 @@ SELECT id,hex(b1),vc,bc,d,f,total,y,t FROM t1 WHERE id = 412;
|
|||
# into the binlog other wise we will miss the update.
|
||||
|
||||
sync_slave_with_master;
|
||||
--sleep 5
|
||||
--echo --- Check Update on slave ---
|
||||
SELECT id,hex(b1),vc,bc,d,f,total,y,t FROM t1 WHERE id = 412;
|
||||
|
||||
|
@ -56,7 +54,6 @@ DELETE FROM t1 WHERE id = 42;
|
|||
SELECT COUNT(*) FROM t1;
|
||||
|
||||
sync_slave_with_master;
|
||||
--sleep 5
|
||||
--echo --- Show current count on slave for t1 ---
|
||||
SELECT COUNT(*) FROM t1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue