[MDEV-20749] Improve error reporting of mysqlbinlog when used with --flashback Created: 2019-10-04 Updated: 2019-10-06 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Simon Mudd | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | 10.3.15, 8.0.17, errors, flashback, mysqlbinlog | ||
| Description |
|
"Inspired" by https://github.com/github/gh-mysql-tools/tree/master/rewind and a great talk by Shlomi on how they used the flashback functionality to unwind some changes in the database I thought I'd try this myself.
When running it I see the following:
So this fails. Clearly it's not entirely unexpected reading from a MySQL 8.0 binlog but even so it would be good to provide better debugging information when such an error occurs. e.g.
The current error message is terse to put it mildly... I understand this may not be seen as a really important thing to do. Right now there is no such functionality in "upstream" MySQL so I was trying out the MariaDB version to see if it might work. The failure is ok but the error reporting of the issue could be improved and maybe adding a bit more detail would be helpful. |