[MDEV-29069] ER_KEY_NOT_FOUND upon concurrent online auto-increment addition and DELETE Created: 2022-07-08 Updated: 2023-08-16 Resolved: 2023-03-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Affects Version/s: | N/A |
| Fix Version/s: | 11.2.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | online-ddl | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
ALTER fails with:
For a side note, in the client the error gets scrambled reliably (at least for me), like this:
|
| Comments |
| Comment by Nikita Malyavin [ 2022-07-25 ] | ||||||||
|
Sergei, please review commits e2f8dff...52f489e, branch bb-10.10-ddl-nikita | ||||||||
| Comment by Nikita Malyavin [ 2022-10-17 ] | ||||||||
|
I have updated the branch to 10.11, please see bb-10.11-ddl-nikita [github] Sergei, in this new branch the commits you have already reviewed:
New commits for review are c71d8e92...774a0bb9, namely:
I have fixed a few bugs here. First, turned out that update_default_fields updates ALL default We have discussed with you the optimization to avoid key_parts traversal for each event Still I have a feeling that find_key now looks complicated, and I was looking for reasons Finally, i have totally reworked a usability of a key part in{{55c376fd improve DEFAULT rules}}. EDIT: Sorry, wrong branch, it's 10.11, not 10.10 |