Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

MySQL Orchestrator does not support new semi-sync variables introduced in MySQL 8.0.26 #1424

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kamil-holubicki
Copy link

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]

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.
@jiangnanora
Copy link

up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants