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

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 5.7.24-31.33
    • None
    • 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

      Attachments

        Issue Links

          Activity

            People

              kenn.takara Kenn Takara (Inactive)
              zllovesuki Rachel Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 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

                  Smart Checklist