[MDEV-21039] Server fails to start with mysqld_multi with mysqld_safe options Created: 2019-11-12  Updated: 2021-09-22  Resolved: 2021-03-16

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.3.20, 10.2, 10.4, 10.5, 10.6
Fix Version/s: 10.2.38, 10.3.29, 10.4.19, 10.5.10, 10.6.0

Type: Bug Priority: Critical
Reporter: Kyle Joiner (Inactive) Assignee: Julius Goryavsky
Resolution: Fixed Votes: 1
Labels: regression

Issue Links:
Problem/Incident
is caused by MDEV-18863 Galera SST scripts can't read mysqld_... Closed
is caused by MDEV-20614 Syntax error, and option put in wrong... Closed
is caused by MDEV-20728 /usr/sbin/mysqld: unknown variable 'd... Closed

 Description   

If you try to start 10.3.20 using mysqld_multi, and if the [mysqld_safe] option group in the config file contains options that are not supported by mysqld, then it will fail to start. For example, let's say that you provide the --numa_interleave option:

[mysqld_safe]
numa_interleave

Then you would see the following error message:

[ERROR] /usr/local/mysql/bin/mysqld: unknown option '--numa_interleave'

After removing the options that mysqld doesn't support from the config file, it will start normally.



 Comments   
Comment by Jan Lindström (Inactive) [ 2020-08-04 ]

ok to push after you have checked buildbot results.

Comment by Julius Goryavsky [ 2020-08-18 ]

Fixed, https://github.com/MariaDB/server/commit/5796021174fd7096267003b999e02d6cf98f555b

Comment by Jan Lindström (Inactive) [ 2020-10-21 ]

Fix does not work. Please test fix locally first using provided steps.

Comment by Jan Lindström (Inactive) [ 2021-02-17 ]

ok to push.

Comment by Julius Goryavsky [ 2021-03-16 ]

Fixed, https://github.com/MariaDB/server/commit/bf303e824cec48e10eba18c5dab86a8cdd1af850

Generated at Thu Feb 08 09:04:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.