[MDEV-25669] SST scripts should check all server groups in configuration files Created: 2021-05-13  Updated: 2022-02-18  Resolved: 2021-05-17

Status: Closed
Project: MariaDB Server
Component/s: Galera, Galera SST
Fix Version/s: 10.6.1, 10.2.39, 10.3.30, 10.4.20, 10.5.11

Type: Task Priority: Major
Reporter: Julius Goryavsky Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Issue split
PartOf
includes MDEV-23911 wsrep_sst_mariabackup acts on mysqld_... Closed
Relates
relates to MDEV-15639 sst mariabackup required datadir in m... Closed

 Description   

SST scripts should check all server groups in configuration files - this task is a split of MENT-1183 for CS editions

Problem

The MariaDB Backup SST script (wsrep_sst_mariabackup) for Galera manually reads options from configuration files using the tool my_print_defaults. However, in a few places, the script only checks the [mysqld] group in the configuration files. For completeness, it should check all server groups read by the mariadbd process.

The full list of server groups is:

  • [client-server]
  • [server]
  • [mysqld]
  • [mysqld-X.Y]
  • [mariadb]
  • [mariadb-X.Y]
  • [mariadbd]
  • [mariadbd-X.Y]
  • [galera]

See here for some more details: https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#server-option-groups



 Comments   
Comment by Julius Goryavsky [ 2021-05-14 ]

Done:
https://github.com/MariaDB/server/commit/350c63581612b30e0cb693c35c4da44131481639
http://buildbot.askmonty.org/buildbot/grid?category=main&branch=bb-10.2-MDEV-25669

Comment by Jan Lindström (Inactive) [ 2021-05-14 ]

ok to push if remaining bb results are green

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