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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d3c7798e
Commit
d3c7798e
authored
Mar 29, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix race in rpl.rpl_checksum.
parent
ce0c335d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
mysql-test/suite/rpl/r/rpl_checksum.result
mysql-test/suite/rpl/r/rpl_checksum.result
+1
-2
mysql-test/suite/rpl/t/rpl_checksum.test
mysql-test/suite/rpl/t/rpl_checksum.test
+6
-2
No files found.
mysql-test/suite/rpl/r/rpl_checksum.result
View file @
d3c7798e
...
...
@@ -87,8 +87,7 @@ include/stop_slave.inc
create table t2 (a int);
set @@global.debug_dbug='d,simulate_checksum_test_failure';
start slave io_thread;
include/wait_for_slave_io_error.inc [errno=1595]
Last_IO_Error = 'Relay log write failure: could not queue event from master'
include/wait_for_slave_io_error.inc [errno=1595,1913]
set @@global.debug_dbug='';
start slave io_thread;
include/wait_for_slave_param.inc [Read_Master_Log_Pos]
...
...
mysql-test/suite/rpl/t/rpl_checksum.test
View file @
d3c7798e
...
...
@@ -143,8 +143,12 @@ connection slave;
# instruction to io thread
set
@@
global
.
debug_dbug
=
'd,simulate_checksum_test_failure'
;
start
slave
io_thread
;
--
let
$slave_io_errno
=
1595
--
let
$show_slave_io_error
=
1
# When the checksum error is detected, the slave sets error code 1913
# (ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE) in queue_event(), then immediately
# sets error 1595 (ER_SLAVE_RELAY_LOG_WRITE_FAILURE) in handle_slave_io().
# So we usually get 1595, but it is occasionally possible to get 1913.
--
let
$slave_io_errno
=
1595
,
1913
--
let
$show_slave_io_error
=
0
source
include
/
wait_for_slave_io_error
.
inc
;
set
@@
global
.
debug_dbug
=
''
;
...
...
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