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
a8523559
Commit
a8523559
authored
Apr 14, 2015
by
Kristian Nielsen
Browse files
Options
Browse Files
Download
Plain Diff
Merge MDEV-7975 into 10.0
parents
17aff4b1
5d2b85a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
5 deletions
+27
-5
mysql-test/include/mtr_warnings.sql
mysql-test/include/mtr_warnings.sql
+6
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-0
sql/slave.cc
sql/slave.cc
+15
-5
No files found.
mysql-test/include/mtr_warnings.sql
View file @
a8523559
...
...
@@ -227,6 +227,12 @@ INSERT INTO global_suppressions VALUES
(
"Slave I/O: Notifying master by SET @master_binlog_checksum= @@global.binlog_checksum failed with error.*"
),
(
"Slave I/O: Setting master-side filtering of @@skip_replication failed with error:.*"
),
(
"Slave I/O: Setting @mariadb_slave_capability failed with error:.*"
),
(
"Slave I/O: Get master @@GLOBAL.gtid_domain_id failed with error.*"
),
(
"Slave I/O: Setting @slave_connect_state failed with error.*"
),
(
"Slave I/O: Setting @slave_gtid_strict_mode failed with error.*"
),
(
"Slave I/O: Setting @slave_gtid_ignore_duplicates failed with error.*"
),
(
"Slave I/O: Setting @slave_until_gtid failed with error.*"
),
(
"Slave I/O: Get master GTID position failed with error.*"
),
(
"THE_LAST_SUPPRESSION"
)
||
...
...
mysql-test/mysql-test-run.pl
View file @
a8523559
...
...
@@ -4839,6 +4839,12 @@ sub extract_warning_lines ($$) {
qr/Slave I\/
O:
Get
master
clock
failed
with
error:
.*/
,
qr/Slave I\/
O:
Get
master
COLLATION_SERVER
failed
with
error:
.*/
,
qr/Slave I\/
O:
Get
master
TIME_ZONE
failed
with
error:
.*/
,
qr/Slave I\/
O:
Get
master
\
@
\@
GLOBAL
.
gtid_domain_id
failed
with
error:
.*/
,
qr/Slave I\/
O:
Setting
\
@slave_connect_state
failed
with
error:
.*/
,
qr/Slave I\/
O:
Setting
\
@slave_gtid_strict_mode
failed
with
error:
.*/
,
qr/Slave I\/
O:
Setting
\
@slave_gtid_ignore_duplicates
failed
with
error:
.*/
,
qr/Slave I\/
O:
Setting
\
@slave_until_gtid
failed
with
error:
.*/
,
qr/Slave I\/
O:
Get
master
GTID
position
failed
with
error:
.*/
,
qr/Slave I\/
O:
error
reconnecting
to
master
'
.*
'
-
retry
-
time
:
[
1
-
3
]
retries
/
,
qr/Slave I\/
0
:
Master
command
COM_BINLOG_DUMP
failed
/
,
qr/Error reading packet/
,
...
...
sql/slave.cc
View file @
a8523559
...
...
@@ -2011,11 +2011,21 @@ when it try to get the value of TIME_ZONE global variable from master.";
!
(
master_row
=
mysql_fetch_row
(
master_res
)))
{
err_code
=
mysql_errno
(
mysql
);
errmsg
=
"The slave I/O thread stops because master does not support "
"MariaDB global transaction id. A fatal error is encountered when "
"it tries to SELECT @@GLOBAL.gtid_domain_id."
;
sprintf
(
err_buff
,
"%s Error: %s"
,
errmsg
,
mysql_error
(
mysql
));
goto
err
;
if
(
is_network_error
(
err_code
))
{
mi
->
report
(
ERROR_LEVEL
,
err_code
,
NULL
,
"Get master @@GLOBAL.gtid_domain_id failed with error: %s"
,
mysql_error
(
mysql
));
goto
network_err
;
}
else
{
errmsg
=
"The slave I/O thread stops because master does not support "
"MariaDB global transaction id. A fatal error is encountered when "
"it tries to SELECT @@GLOBAL.gtid_domain_id."
;
sprintf
(
err_buff
,
"%s Error: %s"
,
errmsg
,
mysql_error
(
mysql
));
goto
err
;
}
}
mysql_free_result
(
master_res
);
master_res
=
NULL
;
...
...
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