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
c048053c
Commit
c048053c
authored
Oct 29, 2020
by
Alice Sherepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-23103 rpl.rpl_gtid_delete_domain failed in buildbot
parent
8ba641a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
mysql-test/suite/rpl/r/rpl_gtid_delete_domain.result
mysql-test/suite/rpl/r/rpl_gtid_delete_domain.result
+1
-1
mysql-test/suite/rpl/t/rpl_gtid_delete_domain.test
mysql-test/suite/rpl/t/rpl_gtid_delete_domain.test
+3
-9
No files found.
mysql-test/suite/rpl/r/rpl_gtid_delete_domain.result
View file @
c048053c
...
...
@@ -22,7 +22,7 @@ START SLAVE IO_THREAD;
include/wait_for_slave_io_error.inc [errno=1236]
connection master;
FLUSH BINARY LOGS;
PURGE BINARY LOGS TO 'master-bin.000002';;
include/wait_for_purge.inc "master-bin.000002"
FLUSH BINARY LOGS DELETE_DOMAIN_ID=(11);
SELECT @@global.gtid_binlog_pos, @@global.gtid_binlog_state;
@@global.gtid_binlog_pos @@global.gtid_binlog_state
...
...
mysql-test/suite/rpl/t/rpl_gtid_delete_domain.test
View file @
c048053c
...
...
@@ -53,17 +53,11 @@ START SLAVE IO_THREAD;
# adjust the master binlog state
FLUSH
BINARY
LOGS
;
--
let
$purge_to_binlog
=
query_get_value
(
SHOW
MASTER
STATUS
,
File
,
1
)
--
eval
PURGE
BINARY
LOGS
TO
'$purge_to_binlog'
;
--
let
$purge_binlogs_to
=
$purge_to_binlog
--
source
include
/
wait_for_purge
.
inc
# with final removal of the extra domain
###adding to debug info to catch the failure (1076):
--
error
0
,
1076
--
eval
FLUSH
BINARY
LOGS
DELETE_DOMAIN_ID
=
(
$extra_domain_id
)
if
(
$mysql_errno
==
1076
)
{
--
echo
### Failure "Could not delete gtid domain"
--
source
include
/
show_rpl_debug_info
.
inc
}
SELECT
@@
global
.
gtid_binlog_pos
,
@@
global
.
gtid_binlog_state
;
--
connection
slave
...
...
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