Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
13.3
-
None
-
Not for Release Notes
-
Q1/2027 Server Maintenance
Description
mariadbd-multi treats two groups as a single server when their numbers exceed 18446744073709551615 (2^64 - 1), even if the numbers are different. Only one server is started, using the options from both groups. The second server is never started, stopped, or reported.
Test case
export PATH=/test/mtest/MDEV-42003/MD031126-mariadb-13.2.0-linux-x86_64-opt/bin:$PATH |
|
|
cat > /tmp/multi.cnf <<'EOF' |
[mariadbd_multi]
|
mariadbd=/bin/true |
[mysqld18446744073709551616]
|
socket=/tmp/a.sock |
[mysqld18446744073709551617]
|
socket=/tmp/b.sock |
EOF
|
|
|
mariadbd-multi --defaults-file=/tmp/multi.cnf --no-log --print-commands start |
Actual result
Starting MariaDB servers
|
WARNING: Group [mysqld18446744073709551617] in /tmp/multi.cnf reuses group number 1.84467440737096e+19 of [mysqld18446744073709551616]. The options of these groups are combined.
|
Running: /bin/true --defaults-group-suffix=18446744073709551616 --socket=/tmp/a.sock --socket=/tmp/b.sock &
|
Expected result
Starting MariaDB servers
|
Running: /bin/true --defaults-group-suffix=18446744073709551616 --socket=/tmp/a.sock &
|
Running: /bin/true --defaults-group-suffix=18446744073709551617 --socket=/tmp/b.sock &
|
Attachments
Issue Links
- is caused by
-
MDEV-42003 Enhance mariadbd-multi to support mariadbd prefixes
-
- In Testing
-