[MDEV-30413] run sequence nextval got [Note] WSREP: MDL BF-BF conflict and [ERROR] Aborting Created: 2023-01-15 Updated: 2023-05-25 Resolved: 2023-03-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.6.10 |
| Fix Version/s: | 11.1.0, 10.11.3, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | William Wong | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Hi, Our Galera cluster architecture is 2 DB nodes + 1 witness node. Most DB traffic is redirected to one DB node. One of our Galera cluster encounter one node down (wsrep_ready=OFF). We restarted the DB node but IST encountered the same error. We need to remove data directory and let Galera to trigger SST in order to resume the DB node. DB version is 10.6.10 and Galera version is 26.4.12 We have another similar incident
|
| Comments |
| Comment by Jan Lindström [ 2023-03-14 ] | |||||||||||||||||||||||||||||||||||||||
|
frelist I would need more information about customer workload because I could not reproduce issue easily. Firstly, can you provide full unedited error log from all nodes, node configuration and show create sequence `SEQUENCE_LPCO_ID`; Here we need to remember that SELECT NEXT VALUE is basically write to sequence table and that could cause MDL conflict. However, at the moment it is not clear what the conflicting SQL-clause was. | |||||||||||||||||||||||||||||||||||||||
| Comment by Ramesh Sivaraman [ 2023-03-15 ] | |||||||||||||||||||||||||||||||||||||||
|
janlindstrom Reproduced BF conflict issue using RQG. PFA error logs node1.err
| |||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström [ 2023-03-28 ] | |||||||||||||||||||||||||||||||||||||||
| Comment by Julius Goryavsky [ 2023-03-30 ] | |||||||||||||||||||||||||||||||||||||||
|
According to the results of running the tests, fix works as it should, therefore the fix is merged with head revision: https://github.com/MariaDB/server/commit/169def14f64492466a305114b0ca13b2b5775164 |