Skip to content
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
openark:masterfrom
kamil-holubicki:8026_semisync_replication_support
Open

MySQL Orchestrator does not support new semi-sync variables introduced in MySQL 8.0.26#1424
kamil-holubicki wants to merge 1 commit into
openark:masterfrom
kamil-holubicki:8026_semisync_replication_support

Conversation

@kamil-holubicki
Copy link
Copy Markdown

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
Copy Markdown

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