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
3b431426
Commit
3b431426
authored
May 07, 2014
by
Venkatesh Duggirala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#17638477 UNINSTALL AND INSTALL SEMI-SYNC PLUGIN CAUSES SLAVES TO BREAK
Fixing post push failure
parent
548db492
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/suite/rpl/r/rpl_semi_sync_uninstall_plugin.result
mysql-test/suite/rpl/r/rpl_semi_sync_uninstall_plugin.result
+2
-2
mysql-test/suite/rpl/t/rpl_semi_sync_uninstall_plugin.test
mysql-test/suite/rpl/t/rpl_semi_sync_uninstall_plugin.test
+2
-0
No files found.
mysql-test/suite/rpl/r/rpl_semi_sync_uninstall_plugin.result
View file @
3b431426
include/master-slave.inc
[connection master]
INSTALL PLUGIN rpl_semi_sync_master SONAME '
semisync_master.so
';
INSTALL PLUGIN rpl_semi_sync_slave SONAME '
semisync_slave.so
';
INSTALL PLUGIN rpl_semi_sync_master SONAME '
SEMISYNC_MASTER_PLUGIN
';
INSTALL PLUGIN rpl_semi_sync_slave SONAME '
SEMISYNC_SLAVE_PLUGIN
';
UNINSTALL PLUGIN rpl_semi_sync_slave;
UNINSTALL PLUGIN rpl_semi_sync_master;
CREATE TABLE t1(i int);
...
...
mysql-test/suite/rpl/t/rpl_semi_sync_uninstall_plugin.test
View file @
3b431426
...
...
@@ -21,10 +21,12 @@
# not in use i.e., when asynchronous replication is active.
###############################################################################
# Step 1.1: Install semi sync master plugin on master
--
replace_result
$SEMISYNC_MASTER_PLUGIN
SEMISYNC_MASTER_PLUGIN
eval
INSTALL
PLUGIN
rpl_semi_sync_master
SONAME
'$SEMISYNC_MASTER_PLUGIN'
;
# Step 1.2: Install semi sync slave plugin on slave
--
connection
slave
--
replace_result
$SEMISYNC_SLAVE_PLUGIN
SEMISYNC_SLAVE_PLUGIN
eval
INSTALL
PLUGIN
rpl_semi_sync_slave
SONAME
'$SEMISYNC_SLAVE_PLUGIN'
;
# Step 1.3: Uninstallation of semisync plugin on master and slave should be
...
...
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