Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
13.2
-
None
Description
Add a warning to --convert-engine-binlog when the input .ibb files are not contiguous, for example binlog-000000.ibb and binlog-000002.ibb given with binlog-000001.ibb skipped. The warning should name the missing file, and the exit status can stay 0, since the caller may have skipped the file on purpose.
With a skipped numbered file the converter exits 0 and writes an output that lacks the skipped file's transactions. stderr has only the "Generated output file" line.
Steps
1. Produce binlog-000000.ibb to binlog-000003.ibb with a few transactions each (GTIDs 1-4, 5-7, 8-10, 11-13).
2. Run:
mariadb-binlog --convert-engine-binlog -r out binlog-000000.ibb binlog-000002.ibb
3. The output holds only GTIDs 1-4 and 8-10 (7 transactions). GTIDs 5-7 are missing and nothing says so.
Impact: a replica or PITR restore built from the output silently lacks those transactions. Nothing in the output marks the hole, so the user may not find out until the data is wrong.
Attachments
Issue Links
- is caused by
-
MDEV-37605 Mariadb-binlog to Convert InnoDB Binlog Format to Legacy Format
-
- Approved
-