[MCOL-1278] occasionally IDB-2031: Blocks are missing. Alter or drop table in progress?` Created: 2018-03-16 Updated: 2020-08-25 Resolved: 2018-11-28 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 1.1.2 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Richard Stracke | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Duplicate | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Debian 8 |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Sometimes for some statements (select or insert) the following error occurs. Result: `HY000 1815 Internal error: IDB-2031: Blocks are missing. Alter or drop table in progress?` If the error occurs, the error will repeat for every retry. Erro vanished, if
will be executed. In error case the following line occured in debug, warning, info, error and critical log
execution order:
I don't beleive, it is a duplicate from infinidb_local_query =0 |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-04-17 ] |
|
Ah! So my guess is the DDL doesn't clear PrimProcs cache properly (likely on dict) so it is expecting blocks from the old table instead of the replacement one. I'll assign it to 1.1.5 but we will need to figure out a way to reproduce it. |
| Comment by Stepan Patryshev (Inactive) [ 2018-08-20 ] |
|
Hi Richard, can you please share with me a sample data file? |
| Comment by Richard Stracke [ 2018-08-22 ] |
|
It could be the same issue like MCOL 930, both issues can be "solved" with select calFlushCache(); |
| Comment by Andrew Hutchings (Inactive) [ 2018-11-28 ] |
|
Duplicate of |