Skip to content

MDEV-36677: wsrep_sst_rsync broken if innodb_log_group_home_dir is different than datadir - #543

Open
plampio wants to merge 3 commits into
11.4from
11.4-mdev-36677
Open

MDEV-36677: wsrep_sst_rsync broken if innodb_log_group_home_dir is different than datadir#543
plampio wants to merge 3 commits into
11.4from
11.4-mdev-36677

Conversation

@plampio

@plampio plampio commented Nov 6, 2025

Copy link
Copy Markdown

The rsync SST method of Galera worked incorrectly if innodb_log_group_home_dir or aria_log_dir_path were not the same as datadir at the SST donor node. This patch fixes the broken wsrep_sst_rsync shell script.

This patch adds a new MTR test galera_3nodes.galera_mdev_36677 to check that the rsync SST method of Galera works correctly also when the donor node stores InnoDB and Aria log files in a dedicated directory separate from the data directory.

…fferent

            than datadir

This patch adds a new MTR test "galera.galera_mdev_36677" to check
that the rsync SST method of Galera works correctly also when
the joiner node store InnoDB log files in a dedicated directory
separate from the data dictionary.
…side

the data directory.

Extended MTR test coverage and replaced MTR test galera.galera_mdev_36677
with galera_3nodes.galera_mdev_36677.

@janlindstrom janlindstrom left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Is 11.4 really lowest version where this is a problem? Please test testcase on 10.11 if innodb_log_group_home_dir can be something else than datadir.

@TomasMerta

Copy link
Copy Markdown

10.11.10+ has same problem

LGTM.

Is 11.4 really lowest version where this is a problem? Please test testcase on 10.11 if innodb_log_group_home_dir can be something else than datadir.

sjaakola added a commit to MariaDB/server that referenced this pull request Aug 7, 2026
…nd datadir

Backported the fix done by Pekka Lampio for mariaDB 11.4 in PR
mariadb-corporation#543

The PR has a fix for wsrep_sst_rsync script and new mtr test:
galera_3nodes.galera_mdev_36677" to check that the rsync SST method of Galera
works correctly also when the joiner node store InnoDB log files in a dedicated
directory separate from the data dictionary

Note: merging this PR to 11.4 may not be fully functional as there are other
changes in the rsync SST script. Take a look at the original 11.4 PR when merging.
sjaakola added a commit to MariaDB/server that referenced this pull request Aug 11, 2026
…nd datadir

Backported the fix done by Pekka Lampio for mariaDB 11.4 in PR
mariadb-corporation#543

The PR has a fix for wsrep_sst_rsync script and new mtr test:
galera_3nodes.galera_mdev_36677" to check that the rsync SST method of Galera
works correctly also when the joiner node store InnoDB log files in a dedicated
directory separate from the data dictionary

Note: merging this PR to 11.4 may not be fully functional as there are other
changes in the rsync SST script. Take a look at the original 11.4 PR when merging.
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.

3 participants