[MDEV-28310] Missing binlog data for INSERT .. ON DUPLICATE KEY UPDATE Created: 2022-04-13 Updated: 2023-07-24 Resolved: 2022-05-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.3.34, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3, 10.9.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Iliya Polihronov | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Using the following test case, the second INSERT statement is not logged in the binlog when using MIXED binlog format and thus is not replicated to a slave, leading to inconsistent state of replication. Server version: 10.3.34-MariaDB-log MariaDB Server
|
| Comments |
| Comment by Michael Widenius [ 2022-05-03 ] | |||
|
I checked 10.6 and there both statements are replicated properly with binlog_format=mixed
| |||
| Comment by Andrei Elkin [ 2022-05-04 ] | |||
|
The latest patch 744dabd4776 HEAD -> bb-10.2-andrei is ready for review. |