Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-2275

checking for wsrep_node_address in wsrep_sst_common uses the wrong variable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.24-31.33
    • Component/s: None
    • Labels:
      None

      Description

      As per bug fix in PXC-2165, the commit introduces regression. Command replaces underscore ("_") to dashes ("-") in `awk -F= '

      {if ($1 ~ /_/) \{ gsub(/_/,"-",$1); print $1"="$2 }

      else { print $0 }}'`, however, the search operation does not replace `grep – "--$var="`

       

      Therefore, `wsrep_node_address=$(parse_cnf mysqld wsrep_node_address "")` in wsrep_sst_xtrabackup-v2 will fail because wsrep_node_address does not correspond to wsrep-node-address

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kenn.takara Kenn Takara
                  Reporter:
                  zllovesuki Rachel Chen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 1 hour
                    1d 1h