[MDEV-26910] mysqld_multi starts same instance multiple times with the risk to crash database Created: 2021-10-26  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.4, 10.5, 10.6

Type: Bug Priority: Major
Reporter: Nicolas Baradakis Assignee: Anel Husakovic
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Linux x86_64


Attachments: File mysqld_multi.patch    

 Description   

Apparently the script mysqld_multi assumes the configuration of an instance is in a single file. But when you're using different snippets under conf.d/ the function find_groups() matches the same instance multiple times, leading to the concurrent run of the same instance with the risk to crash database.
Patch is in attachment, it's trivial and can save a lot of trouble.


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