[MDEV-15267] Bug in wsrep_sst_common Created: 2018-02-09 Updated: 2018-02-10 Resolved: 2018-02-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera SST, wsrep |
| Affects Version/s: | 10.2.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Todd Stoffel (Inactive) | Assignee: | Sachin Setiya (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Red Hat 6.9 |
||
| Issue Links: |
|
||||||||
| Description |
|
MariaDB Galera Cluster 10.2.12. When using xtrabackup-v2 as the SST method and using a compressor like gzip or pigz, the following messages appear in the error logs: /bin/wsrep_sst_common: line 274: [: pigz: binary operator expected For reference: http://galeracluster.com/documentation-webpages/xtrabackupoptions.html ---------------------- It appears to be a shell scripting error with the construction of the IF statement on the previously mentioned line numbers: if [ -z $reval ]; then ---------------------- Could this be rewritten like this: if [[ -z $reval ]]; then using double brackets? |