Details
-
Task
-
Status: In Review (View Workflow)
-
Blocker
-
Resolution: Unresolved
-
Q3/2026 Replic. Development
Description
In MDEV-37146, mariadb-dump queries information_schema.SLAVE_STATUS if the server is MariaDB 11.6+ and SHOW ALL SLAVES STATUS otherwise.
OTOH, in MDEV-39519, mariadb-dump always queries SHOW REPLICA STATUS first and then SHOW SLAVE STATUS if the former is not supported.
These two conflict, not just in code, but in their approaches.
To temporarily resolve this conflict from the codebase, MDEV-39519 is currently excluded from the 13.x version series and is only present on 11.8 and 12.3.
In the mailing list, bnestere recommended to port In MDEV-37146's information_schema.SLAVE_STATUS to MDEV-39519's attempt-based approach.
Attachments
Issue Links
- is caused by
-
MDEV-37146 mariadb-dump: Replace SHOW SLAVE STATUS usage with information_schema.SLAVE_STATUS
-
- Closed
-
-
MDEV-39519 Change mariadb-dump to use SHOW REPLICA STATUS instead of SHOW SLAVE STATUS
-
- Closed
-
- is duplicated by
-
MDEV-40073 Merge MySQL support in mariadb-dump into 13.0
-
- Closed
-
- split to
-
MDEV-40582 Emit a warning when using `mariadb-dump --gtid` on versions without GTIDs
-
- Open
-