mysqld_multi uses special option groups with names like [mysqld1], [mysqld2], ..., [mysqldN].
https://mariadb.com/kb/en/library/mysqld_multi/#option-groups
It looks like SST scripts can't currently support these option groups. The only option group-related value it gets from the server is --defaults-group-suffix from the server, if that option was set for mysqld when the server was started:
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_common.sh#L95
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_common.sh#L196
The SST script does not get told by the server to read these option groups, so this means that the SST script will fail to read options like innodb-data-home-dir when it is in a mysqld_multi option group like [mysqld1]:
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_rsync.sh#L174
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_mariabackup.sh#L710
So maybe this problem could easily be fixed by changing mysqld_multi, so that it sets --defaults-group-suffix=N when it starts mysqld. For example, if you start instance number 1 with mysqld_multi, then it could pass --defaults-group-suffix=1 to mysqld, so that it reads group [mysqld1]. I believe that this should allow mysqld to also pass --defaults-group-suffix=N to the SST script, so that it also reads the proper option group.
Currently, it does not look like the mysqld_multi script sets --defaults-group-suffix=N. Instead, the script reads all of the options from the [mysqldN] option group in the configuration file itself, and then passes those options to mysqld on the command-line:
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/mysqld_multi.sh#L324
It looks like the SST scripts currently need to be able to read the following variables from the [mysqldN] option groups:
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_rsync.sh#L174
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_mariabackup.sh#L710
- innodb-log-group-home-dir
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_rsync.sh#L156
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_mariabackup.sh#L955
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_mariabackup.sh#L956
https://github.com/MariaDB/server/blob/93ac7ae70ff000353538f732899b421a3f2ea7ce/scripts/wsrep_sst_mariabackup.sh#L1034
As an alternative fix, should they all be converted into command-line options that the server passes to the SST scripts, so that the SST scripts don't have to read them from the configuration file at all?
{"report":{"fcp":1414.1999998092651,"ttfb":539.5999999046326,"pageVisibility":"visible","entityId":73053,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"58fc28c4-47a0-46f5-ba83-d872b6076377","navigationType":0,"readyForUser":1501.0999999046326,"redirectCount":0,"resourceLoadedEnd":1870.0999999046326,"resourceLoadedStart":546.5999999046326,"resourceTiming":[{"duration":300.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":546.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":847.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":301.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":546.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":546.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":848.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":359.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":547.0999999046326,"connectEnd":547.0999999046326,"connectStart":547.0999999046326,"domainLookupEnd":547.0999999046326,"domainLookupStart":547.0999999046326,"fetchStart":547.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":547.0999999046326,"responseEnd":906.5,"responseStart":906.5,"secureConnectionStart":547.0999999046326},{"duration":444.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":547.2999997138977,"connectEnd":547.2999997138977,"connectStart":547.2999997138977,"domainLookupEnd":547.2999997138977,"domainLookupStart":547.2999997138977,"fetchStart":547.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":547.2999997138977,"responseEnd":991.7999997138977,"responseStart":991.7999997138977,"secureConnectionStart":547.2999997138977},{"duration":449.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":547.5,"connectEnd":547.5,"connectStart":547.5,"domainLookupEnd":547.5,"domainLookupStart":547.5,"fetchStart":547.5,"redirectEnd":0,"redirectStart":0,"requestStart":547.5,"responseEnd":997.0999999046326,"responseStart":997.0999999046326,"secureConnectionStart":547.5},{"duration":450.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":547.7999997138977,"connectEnd":547.7999997138977,"connectStart":547.7999997138977,"domainLookupEnd":547.7999997138977,"domainLookupStart":547.7999997138977,"fetchStart":547.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":547.7999997138977,"responseEnd":998.2999997138977,"responseStart":998.2999997138977,"secureConnectionStart":547.7999997138977},{"duration":457.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":548,"connectEnd":548,"connectStart":548,"domainLookupEnd":548,"domainLookupStart":548,"fetchStart":548,"redirectEnd":0,"redirectStart":0,"requestStart":548,"responseEnd":1005.5999999046326,"responseStart":1005.5999999046326,"secureConnectionStart":548},{"duration":521,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":548.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":548.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1069.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":457.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":548.2999997138977,"connectEnd":548.2999997138977,"connectStart":548.2999997138977,"domainLookupEnd":548.2999997138977,"domainLookupStart":548.2999997138977,"fetchStart":548.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":548.2999997138977,"responseEnd":1006.1999998092651,"responseStart":1006.1999998092651,"secureConnectionStart":548.2999997138977},{"duration":520.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":548.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":548.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1069.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":458.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":548.6999998092651,"connectEnd":548.6999998092651,"connectStart":548.6999998092651,"domainLookupEnd":548.6999998092651,"domainLookupStart":548.6999998092651,"fetchStart":548.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":548.6999998092651,"responseEnd":1007.2999997138977,"responseStart":1007.2999997138977,"secureConnectionStart":548.6999998092651},{"duration":1129.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":550,"connectEnd":550,"connectStart":550,"domainLookupEnd":550,"domainLookupStart":550,"fetchStart":550,"redirectEnd":0,"redirectStart":0,"requestStart":550,"responseEnd":1679.1999998092651,"responseStart":1679.1999998092651,"secureConnectionStart":550},{"duration":1320,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":550.0999999046326,"connectEnd":550.0999999046326,"connectStart":550.0999999046326,"domainLookupEnd":550.0999999046326,"domainLookupStart":550.0999999046326,"fetchStart":550.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":550.0999999046326,"responseEnd":1870.0999999046326,"responseStart":1870.0999999046326,"secureConnectionStart":550.0999999046326},{"duration":584.5999999046326,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1095.1999998092651,"connectEnd":1095.1999998092651,"connectStart":1095.1999998092651,"domainLookupEnd":1095.1999998092651,"domainLookupStart":1095.1999998092651,"fetchStart":1095.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1095.1999998092651,"responseEnd":1679.7999997138977,"responseStart":1679.7999997138977,"secureConnectionStart":1095.1999998092651},{"duration":548.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1406.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1406.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1955,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":386,"responseStart":540,"responseEnd":542,"domLoading":543,"domInteractive":1903,"domContentLoadedEventStart":1903,"domContentLoadedEventEnd":1950,"domComplete":3172,"loadEventStart":3172,"loadEventEnd":3173,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1879.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1880.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":1880.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1884.2999997138977},{"name":"activityTabFullyLoaded","time":1959.1999998092651}],"measures":[],"correlationId":"d87bc3c680fd49","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}