[MDEV-33303] slave_parallel_mode=optimistic should not report the mode's specific temporary errors Created: 2024-01-24 Updated: 2024-01-25 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.5.16 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | liujia | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | replication, slave_parallel_mode | ||
| Environment: |
centos7 x86_64 |
||
| Issue Links: |
|
||||||||
| Description |
|
I have server mariadb-10.5.16 with slave_parallel_mode=optimistic and see errors in log: how to repeat: Replication is not crash and still works. |
| Comments |
| Comment by Kristian Nielsen [ 2024-01-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Ouch, this is not supposed to occur. Thanks for the report, confirmed that this can occur with the very simple test provided. Here is a mysql-test-run testcase that reproduces, the below patch makes it easier to trigger:
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kristian Nielsen [ 2024-01-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
This was supposed to be fixed in This patch seems to fix the bug and avoid the errorneous messages in the error log:
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by liujia [ 2024-01-25 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
I used sysbench to reproduce the error. function prepare_statements() function event() This is the sysbench command. Run the sysbench command to quickly reproduce the problem. |