[MDEV-14299] /usr//bin/wsrep_sst_xtrabackup-v2: line 646: WSREP_SST_OPT_PORT: unbound variable Created: 2017-11-06 Updated: 2017-11-13 Resolved: 2017-11-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera SST |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Marcelo Altmann | Assignee: | Andrii Nikitin (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
This issue is probably a regression of the work done on
If your --address doesn't have a port host:port and you don't specify --port WSREP_SST_OPT_PORT will never be set and will result in an unbound variable error on wsrep_sst_xtrabackup-V2 script :
Possibly we need to move the else block to the outer if:
|
| Comments |
| Comment by Andrii Nikitin (Inactive) [ 2017-11-07 ] |
|
Thank you for analysis. I am marking this as duplicate of |
| Comment by Sergei Golubchik [ 2017-11-13 ] |
|
This patch will leave WSREP_SST_OPT_PORT unset if address is specified with a port like --address 10.176.112.45:12345 I hope the attached patch in |