Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4138

Galera: mysqld_safe doesn't pass on wsrep_provider to mysqld

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.28a-galera
    • Fix Version/s: 5.5.34-galera
    • Component/s: None
    • Labels:

      Description

      mysqld_safe has some special logic around wsrep_provider (sets a number of restarts to 1), and apparently as a side-effect it forgets to add the option to mysqld command line:

      /bin/sh bin/mysqld_safe --wsrep_provider=/lib/libgalera_smm.so --wsrep_cluster_address=gcomm://192.168.1.12 --wsrep_sst_method=rsync --binlog-format=row 
      
      /home/bin/mysqld --basedir=/data/maria-5.5-galera --datadir=/data/maria-5.5-galera/data --plugin-dir=/usr/local/mysql/lib/plugin --wsrep-cluster-address=gcomm://192.168.1.12 --wsrep-sst-method=rsync --binlog-format=row --log-error=/data/maria-5.5-galera/data/ubuntu11.err --pid-file=ubuntu11.pid --wsrep_start_position=94750555-6f90-11e2-0800-e7501c730e2e:2
      

      Corresponding fragment in the script:

            --wsrep[-_]urls=*) wsrep_urls="$val"; ;;
            --wsrep[-_]provider=*)
              if test -n "$val" && test "$val" != "none"
              then
                wsrep_restart=1
              fi
              ;;
            --help) usage ;;
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              Raising the priority due to upcoming 5.5.31-galera release.
              Please close if it's already fixed.

              Show
              elenst Elena Stepanova added a comment - Raising the priority due to upcoming 5.5.31-galera release. Please close if it's already fixed.
              Hide
              nirbhay_c Nirbhay Choubey added a comment -

              Pushed to maria-5.5-galera.

              Show
              nirbhay_c Nirbhay Choubey added a comment - Pushed to maria-5.5-galera.

                People

                • Assignee:
                  nirbhay_c Nirbhay Choubey
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: