[MDEV-21851] Error in BINLOG_BASE64_EVENT is always error-logged as if it's done by the slave Created: 2020-03-01 Updated: 2021-09-06 Resolved: 2020-06-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andrei Elkin | Assignee: | Andrei Elkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In case of error a BINLOG '...' "pseudo"-query is logged into the error log prefixed
In this case it can be only a plain connection user so the apparent ambiguity needs
accompanied with changes in reporting function, like
|
| Comments |
| Comment by Andrei Elkin [ 2020-03-02 ] | ||||||
|
'Slave SQL' is the actual prefix that the initial description meant. | ||||||
| Comment by Andrei Elkin [ 2020-03-04 ] | ||||||
|
The latest patch is pushed along with the XA ones to bb-10.5-MDEV_21469. | ||||||
| Comment by Sujatha Sivakumar (Inactive) [ 2020-03-05 ] | ||||||
|
Hello Andrei, Thank you for the patch. | ||||||
| Comment by Roel Van de Paar [ 2021-09-06 ] | ||||||
|
FYI, Notes like this can be seen:
When executing:
The latter BINLOG command is likely an FD event. With thanks to sujatha.sivakumar for a very clear explanation of what is happening here. Interestingly, whilst this happens on 10.2 to 10.6 on both optimized and debug builds, it does not happen on 10.7 optimized builds, but does on 10.7 debug builds. It also does not happen on MySQL. It would be interesting to find out why? |