[MDEV-4138] Galera: mysqld_safe doesn't pass on wsrep_provider to mysqld Created: 2013-02-05  Updated: 2013-11-30  Resolved: 2013-11-30

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.28a-galera
Fix Version/s: 5.5.34-galera

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera

Issue Links:
Relates
relates to MDEV-4253 service mysql start --wsrep-cluster-a... Closed

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



 Comments   
Comment by Elena Stepanova [ 2013-06-11 ]

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

Comment by Nirbhay Choubey (Inactive) [ 2013-11-30 ]

Pushed to maria-5.5-galera.

Generated at Thu Feb 08 06:54:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.