[MDEV-25468] DELETE HISTORY may delete current data on system-versioned table Created: 2021-04-20 Updated: 2021-04-27 Resolved: 2021-04-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Partitioning, Versioned Tables |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.3.29, 10.4.19, 10.5.10 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Aleksey Midenkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
It is not the case for partitioned tables. The same test case as in
That is, sometimes it moves active rows to history, and sometimes drops them completely. And sometimes, although much less often, it moves one row to history but drops another one completely:
|
| Comments |
| Comment by Aleksey Midenkov [ 2021-04-21 ] |
|
Raising to Critical as this results to unexpected loss of data. |
| Comment by Oleksandr Byelkin [ 2021-04-26 ] |
|
merge 2 commits in one and it is OK to push. |