[MDEV-20068] History partition rotation is not done under LOCK TABLES Created: 2019-07-16 Updated: 2021-04-08 Resolved: 2019-08-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Partitioning, Versioned Tables |
| Affects Version/s: | 10.3, 10.4 |
| Fix Version/s: | 10.3.18, 10.4.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Aleksey Midenkov | Assignee: | Aleksey Midenkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Due to partition rotation is done under lock_external() LOCK TABLES prevents table from further rotation checks. This may lead to partition overflow without any warnings. Reproduce:
|