[MDEV-14313] Joiner fails to SST when upgraded to 10.1.28 from 10.1.23 Created: 2017-11-07 Updated: 2018-02-21 Resolved: 2018-01-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera SST |
| Affects Version/s: | 10.1.28 |
| Fix Version/s: | 10.1.29 |
| Type: | Bug | Priority: | Major |
| Reporter: | Claudio Nanni | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
A Galera cluster uses encryption for SST with the following configuration:
Upgrading a node to 10.1.28 (in a Galera cluster of 10.1.23 nodes) fails with:
One explication is that the joiner doesn't expect an encrypted stream, poining at a problem with the configuration under [sst] section. In 10.1.23 parse_cnf() is in wsrep_sst_xtrabackup-v2 and it's:
In 10.1.28 it's moved to wsrep_sst_common and it's:
Using wsrep_sst_common and wsrep_sst_xtrabackup-v2 from version 10.1.23 on 10.1.28 fixes the problem and the node succesfully joins. |
| Comments |
| Comment by Miguel Escobedo [ 2017-11-16 ] | ||||||||||||
|
We are experiencing a similar problem. We have compressor and decompressor configured under the [sst] section of my.cnf The problem as we see it is that those settings are being ignored because the code that tries to execute is
because the $WSREP_SST_OPT_CONF variable is empty. If we run the line as
basically just remove the "-c" as well as the reference to the variable the value is properly extracted. | ||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-28 ] | ||||||||||||
|
I do see error like below in 10.1.28,
but 10.1.29 and current 10.1 source tree succeed with fix for unrelated problem mentioned in https://jira.mariadb.org/browse/MDEV-13969?focusedCommentId=101180&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-101180 (just needs to remove "--defaults-file=" from sst script at https://github.com/MariaDB/server/blob/40756c9151a564b57f351111d7486b4d18ef5e39/scripts/wsrep_sst_xtrabackup-v2.sh#L868 and few lines later). Unless somebody can claim that 10.1.29+ doesn't work for them, I will close this with 'Fixed in 10.1.29' resolution. | ||||||||||||
| Comment by Elena Stepanova [ 2018-01-27 ] | ||||||||||||
|
Closed based on the comment above. Please comment if you still experience the problem with 10.1.29+. | ||||||||||||
| Comment by Claudio Nanni [ 2018-02-12 ] | ||||||||||||
|
Seen again in 10.1.31: https://jira.mariadb.org/browse/MDEV-15254 | ||||||||||||
| Comment by Daniel Black [ 2018-02-12 ] | ||||||||||||
|
All of the code here was restructured by me in https://github.com/MariaDB/server/pull/549. Will look at cause and follow up in |