Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
11.4.4
-
Rocky Linux 9, n.a.
Description
We try to do a PiTR with mariadb-binlog.
Let us assume we have 2 binary logs:
binlog.000075
binlog.000076
and the point we want to recover to is 16:27:00 which is in binlog #76 (16:25:35 - 16:27:48)
the typical process would be:
- mariadb-binlog --disable-log-bin --stop-datetime='2025-01-10 16:27:00' binlog.000075 binlog.000076 >/dev/null
And then we get this nasty warning:
WARNING: Did not reach stop datetime '2025-01-10 16:27:00' before end of input
OK. It is just a warning. But it confuses users in a critical operation...
Breakting it down it is cause by binlog #75:
- mariadb-binlog --disable-log-bin --stop-datetime='2025-01-10 16:27:00' binlog.000076 >/dev/null
- mariadb-binlog --disable-log-bin --stop-datetime='2025-01-10 16:27:00' binlog.000075 >/dev/null
WARNING: Did not reach stop datetime '2025-01-10 16:27:00' before end of input
Possibly this was introduced in work for MDEV-35528?
Attachments
Issue Links
- duplicates
-
MDEV-35528 mariadb-binlog cannot process more than 1 logfiles when --stop-datetime is specified
-
- Closed
-
- is caused by
-
MDEV-27037 Mysqlbinlog should output a warning if EOF is found before its stop condition
-
- Closed
-