[MDEV-6500] Stale data returned after TRUNCATE PARTITION operation Created: 2014-07-28 Updated: 2015-06-04 Resolved: 2015-06-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Query Cache |
| Affects Version/s: | 5.5.37-galera, 5.5.38 |
| Fix Version/s: | 5.5.44 |
| Type: | Bug | Priority: | Major |
| Reporter: | Stuart Shelton | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | partitioning, querycache | ||
| Environment: |
Ubuntu 14.04 LTS x86_64 |
||
| Sprint: | 5.5.44 |
| Description |
|
MariaDB 5.5.38-galera, from MariaDB-hosted apt repo. After an "ALTER TABLE ... TRUNCATE PARTITION" operation on a LIST partition, a query against the table returns data which has been removed:
A colleague raised this issue with me, and I have been able to reproduce by the above method. When I tried with a RANGE partition rather than a LIST partition, I then saw the correct results whereas my colleague still reports seeing the same incorrect behaviour as above, with the different partitioning method. This may suggest that the issue is non-deterministic. |
| Comments |
| Comment by Elena Stepanova [ 2014-08-12 ] |
|
Reproducible as described on the current 5.5 tree. Could not reproduce on 10.0 on whatever reason, but it doesn't mean it's actually fixed in 10.0. Could not reproduce on MySQL, possibly due to this radical change: http://bugs.mysql.com/bug.php?id=53775 . |
| Comment by Oleksandr Byelkin [ 2015-06-04 ] |
|
OK to push. Thank you! |
| Comment by Vicențiu Ciorbaru [ 2015-06-04 ] |
|
Fixed with: |