Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
10.2.12
-
None
-
Red Hat 6.9
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
/bin/wsrep_sst_common: line 279: [: 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?
Attachments
Issue Links
- duplicates
-
MDEV-15128 Galera cluster synchronization fails when using custom decompressor with arguments
- Closed