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
2350066e
Commit
2350066e
authored
Nov 12, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
40e65e87
7df07c76
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/extra/rpl_tests/rpl_corruption.inc
mysql-test/extra/rpl_tests/rpl_corruption.inc
+4
-4
mysql-test/suite/binlog_encryption/rpl_corruption.result
mysql-test/suite/binlog_encryption/rpl_corruption.result
+2
-2
mysql-test/suite/rpl/r/rpl_corruption.result
mysql-test/suite/rpl/r/rpl_corruption.result
+2
-2
No files found.
mysql-test/extra/rpl_tests/rpl_corruption.inc
View file @
2350066e
...
@@ -122,11 +122,11 @@ SET GLOBAL master_verify_checksum=0;
...
@@ -122,11 +122,11 @@ SET GLOBAL master_verify_checksum=0;
SET
GLOBAL
debug_dbug
=
"+d,corrupt_read_log_event2_set"
;
SET
GLOBAL
debug_dbug
=
"+d,corrupt_read_log_event2_set"
;
--
connection
slave
--
connection
slave
START
SLAVE
IO_THREAD
;
START
SLAVE
IO_THREAD
;
# When the checksum error is detected, the slave sets error code 1
91
3
# When the checksum error is detected, the slave sets error code 1
74
3
# (ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE) in queue_event(), then immediately
# (ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE) in queue_event(), then immediately
# sets error 1595 (ER_SLAVE_RELAY_LOG_WRITE_FAILURE) in handle_slave_io().
# 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 1
91
3.
# So we usually get 1595, but it is occasionally possible to get 1
74
3.
let
$slave_io_errno
=
1595
,
1
913
;
let
$slave_io_errno
=
1595
,
1
743
;
# ER_SLAVE_RELAY_LOG_WRITE_FAILURE, ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE
--
source
include
/
wait_for_slave_io_error
.
inc
--
source
include
/
wait_for_slave_io_error
.
inc
--
connection
master
--
connection
master
SET
GLOBAL
debug_dbug
=
"-d,corrupt_read_log_event2_set"
;
SET
GLOBAL
debug_dbug
=
"-d,corrupt_read_log_event2_set"
;
...
@@ -138,7 +138,7 @@ SET GLOBAL master_verify_checksum=1;
...
@@ -138,7 +138,7 @@ SET GLOBAL master_verify_checksum=1;
--
connection
slave
--
connection
slave
SET
GLOBAL
debug_dbug
=
"+d,corrupt_queue_event"
;
SET
GLOBAL
debug_dbug
=
"+d,corrupt_queue_event"
;
START
SLAVE
IO_THREAD
;
START
SLAVE
IO_THREAD
;
let
$slave_io_errno
=
1595
,
1
913
;
let
$slave_io_errno
=
1595
,
1
743
;
# ER_SLAVE_RELAY_LOG_WRITE_FAILURE, ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE
--
source
include
/
wait_for_slave_io_error
.
inc
--
source
include
/
wait_for_slave_io_error
.
inc
SET
GLOBAL
debug_dbug
=
"-d,corrupt_queue_event"
;
SET
GLOBAL
debug_dbug
=
"-d,corrupt_queue_event"
;
...
...
mysql-test/suite/binlog_encryption/rpl_corruption.result
View file @
2350066e
...
@@ -30,7 +30,7 @@ SET GLOBAL master_verify_checksum=0;
...
@@ -30,7 +30,7 @@ SET GLOBAL master_verify_checksum=0;
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
connection slave;
connection slave;
START SLAVE IO_THREAD;
START SLAVE IO_THREAD;
include/wait_for_slave_io_error.inc [errno=1595,1
91
3]
include/wait_for_slave_io_error.inc [errno=1595,1
74
3]
connection master;
connection master;
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
SET GLOBAL debug_dbug= "";
SET GLOBAL debug_dbug= "";
...
@@ -39,7 +39,7 @@ SET GLOBAL master_verify_checksum=1;
...
@@ -39,7 +39,7 @@ SET GLOBAL master_verify_checksum=1;
connection slave;
connection slave;
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
START SLAVE IO_THREAD;
START SLAVE IO_THREAD;
include/wait_for_slave_io_error.inc [errno=1595,1
91
3]
include/wait_for_slave_io_error.inc [errno=1595,1
74
3]
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
# 6. Slave. Corruption in relay log
# 6. Slave. Corruption in relay log
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";
...
...
mysql-test/suite/rpl/r/rpl_corruption.result
View file @
2350066e
...
@@ -30,7 +30,7 @@ SET GLOBAL master_verify_checksum=0;
...
@@ -30,7 +30,7 @@ SET GLOBAL master_verify_checksum=0;
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
SET GLOBAL debug_dbug="+d,corrupt_read_log_event2_set";
connection slave;
connection slave;
START SLAVE IO_THREAD;
START SLAVE IO_THREAD;
include/wait_for_slave_io_error.inc [errno=1595,1
91
3]
include/wait_for_slave_io_error.inc [errno=1595,1
74
3]
connection master;
connection master;
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
SET GLOBAL debug_dbug="-d,corrupt_read_log_event2_set";
SET GLOBAL debug_dbug= "";
SET GLOBAL debug_dbug= "";
...
@@ -39,7 +39,7 @@ SET GLOBAL master_verify_checksum=1;
...
@@ -39,7 +39,7 @@ SET GLOBAL master_verify_checksum=1;
connection slave;
connection slave;
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
SET GLOBAL debug_dbug="+d,corrupt_queue_event";
START SLAVE IO_THREAD;
START SLAVE IO_THREAD;
include/wait_for_slave_io_error.inc [errno=1595,1
91
3]
include/wait_for_slave_io_error.inc [errno=1595,1
74
3]
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
SET GLOBAL debug_dbug="-d,corrupt_queue_event";
# 6. Slave. Corruption in relay log
# 6. Slave. Corruption in relay log
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";
SET GLOBAL debug_dbug="+d,corrupt_read_log_event_char";
...
...
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