Skip to content

Conversation

mszakami
Copy link

@mszakami mszakami commented Apr 9, 2025

Description

There may be a situation when one would need to be able to rearrange topology in such way that server with higher version will be LEADER for REPLICA that has lower version. This patch allows that by introduction of AllowLowerVersionForReplication option which is turned off by default. Once enabled each time such change will be made, warning will be written into log file.

There may be a situation when one would need to be able to rearrange
topology in such way thet server with higher version will be LEADER for
REPLICA that has lower version. This patch allows that by introduction
of AllowLowerVersionForReplication option which is turned off by
default. Once enabled each time such change will be made, warning will
be written into log file.
@pgporada
Copy link

It should be noted that this type of operation is unsupported by MariaDB. https://mariadb.com/kb/en/replication-overview/#cross-version-replication-compatibility

For anyone else coming along you should upgrade your replicas first, swap the primary to an upgraded server, then upgrade the previous primary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants