Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e47b7802
Commit
e47b7802
authored
Jan 20, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-13626: Work around DEBUG_SYNC timeouts
parent
d595a91b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
+21
-16
mysql-test/suite/innodb/r/innodb_wl6326.result
mysql-test/suite/innodb/r/innodb_wl6326.result
+6
-7
mysql-test/suite/innodb/t/innodb_wl6326.test
mysql-test/suite/innodb/t/innodb_wl6326.test
+15
-9
No files found.
mysql-test/suite/innodb/r/innodb_wl6326.result
View file @
e47b7802
DROP TABLE IF EXISTS t1;
SET GLOBAL innodb_adaptive_hash_index = false;
SET GLOBAL innodb_stats_persistent = false;
connect con1,localhost,root,,;
...
...
@@ -281,8 +280,8 @@ connection con3;
SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait2';
SELECT a00,a01 FROM t1 WHERE a00 = 'cn';
connection default;
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait2';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1
TIMEOUT 1
';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait2
TIMEOUT 1
';
SET DEBUG_SYNC = 'now SIGNAL continue';
connection con1;
connection con2;
...
...
@@ -311,8 +310,8 @@ connection con3;
SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait2';
SELECT a00,a01 FROM t1 WHERE a00 = 'el';
connection default;
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait2';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1
TIMEOUT 1
';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait2
TIMEOUT 1
';
SET DEBUG_SYNC = 'now SIGNAL continue';
connection con1;
connection con2;
...
...
@@ -347,8 +346,8 @@ connection con3;
SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait2';
SELECT a00,a01 FROM t1 WHERE a00 = 'gb';
connection default;
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait2';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1
TIMEOUT 1
';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait2
TIMEOUT 1
';
SET DEBUG_SYNC = 'now SIGNAL continue';
connection con1;
connection con2;
...
...
mysql-test/suite/innodb/t/innodb_wl6326.test
View file @
e47b7802
...
...
@@ -12,9 +12,6 @@ SET @old_innodb_limit_optimistic_insert_debug = @@innodb_limit_optimistic_insert
SET
@
old_innodb_adaptive_hash_index
=
@@
innodb_adaptive_hash_index
;
SET
@
old_innodb_stats_persistent
=
@@
innodb_stats_persistent
;
--
enable_query_log
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
# Save the initial number of concurrent sessions
--
source
include
/
count_sessions
.
inc
...
...
@@ -353,8 +350,11 @@ SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait2';
SELECT
a00
,
a01
FROM
t1
WHERE
a00
=
'cn'
;
--
connection
default
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait2'
;
# FIXME: These occasionally time out!
--
disable_warnings
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1 TIMEOUT 1'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait2 TIMEOUT 1'
;
--
enable_warnings
SET
DEBUG_SYNC
=
'now SIGNAL continue'
;
--
connection
con1
...
...
@@ -407,8 +407,11 @@ SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait2';
SELECT
a00
,
a01
FROM
t1
WHERE
a00
=
'el'
;
--
connection
default
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait2'
;
# FIXME: These occasionally time out!
--
disable_warnings
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1 TIMEOUT 1'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait2 TIMEOUT 1'
;
--
enable_warnings
SET
DEBUG_SYNC
=
'now SIGNAL continue'
;
--
connection
con1
...
...
@@ -461,8 +464,11 @@ SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait2';
SELECT
a00
,
a01
FROM
t1
WHERE
a00
=
'gb'
;
--
connection
default
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait2'
;
# FIXME: These occasionally time out!
--
disable_warnings
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1 TIMEOUT 1'
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait2 TIMEOUT 1'
;
--
enable_warnings
SET
DEBUG_SYNC
=
'now SIGNAL continue'
;
--
connection
con1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment