This repository was archived by the owner on Feb 18, 2025. It is now read-only.
MySQL Orchestrator does not support new semi-sync variables introduced in MySQL 8.0.26#1424
Open
kamil-holubicki wants to merge 1 commit into
Open
Conversation
new semi-sync variables introduced in MySQL 8.0.26 Problem: MySql 8.0.26 introduced new semisync replication plugins semisync_source.so and semisync_replica.so in place of semisync_master.so and semisync_slave.so All semisync replication plugins' variables were renamed in the way that 'master' was replaced with the term 'source' and 'slave' was replaced by 'replica'. As 8.0.26 contains also old plugins and when they are installed everything works fine it is not enough to detect server version. Moreover, it is possible to mix old source plugin with new replica plugin and the opposite. Solution: Detect which plugins are installed and use proper variable names.
|
up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem:
MySql 8.0.26 introduced new semisync replication plugins
semisync_source.so and semisync_replica.so
in place of
semisync_master.so and semisync_slave.so
All semisync replication plugins' variables were renamed in the way
that 'master' was replaced with the term 'source' and 'slave' was
replaced by 'replica'.
As 8.0.26 contains also old plugins and when they are installed
everything works fine it is not enough to detect server version.
Moreover, it is possible to mix old source plugin with new replica
plugin and the opposite.
Solution:
Detect which plugins are installed and use proper variable names.
Related issue: https://github.com/openark/orchestrator/issues/0123456789
Description
This PR [briefly explain what is does]