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

Galera: mysqld_safe doesn't pass on wsrep_provider to mysqld

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.28a-galera
    • 5.5.34-galera
    • None

    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 ;;

      Attachments

        Issue Links

          Activity

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.