[MCOL-277] Concurrent Online Table name change and Select Error Created: 2016-08-29 Updated: 2018-12-20 Resolved: 2018-12-20 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | DDLProc |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Dipti Joshi (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This error is reported by a InfiniDB user. It should be checked in MariaDB ColumnStore as well. "We noticed error occurs when there are two processes attempting to access an infinidb table at the same time:
This is the error The crit.log is empty. |
| Comments |
| Comment by Daniel Lee (Inactive) [ 2016-08-29 ] |
|
I performed the following tests and could not reproduce the report issue: ColumnStore 1.0.2.1-1 on single server I did many test runs, varying the time since the query started, to rename the table. That tested different scenarios that the table was renamed at different stages of the query processing (data retrieval, outputting rows to terminal, etc). SQL statements used for testing: select * from (select * from orders union select * from orders1 union select * from orders2) a; Table size used was TPCH 1g ( 500000 rows for each table) We should contact the customer to get the exact test scenario, as well as the table size, just in case what I tested is different from their scenario. |
| Comment by Dipti Joshi (Inactive) [ 2016-08-30 ] |
|
Please do it on a table with 93 million rows |
| Comment by David Tse [ 2017-03-06 ] |
|
I also encounter this issue randomly. Anyone has found a workaround? Shortly after renaming a table with about 6.5 million rows. Select on this table will have below errors MySQL Error: 1815 - Internal error: An unexpected |
| Comment by Daniel Lee (Inactive) [ 2017-06-08 ] |
|
Unable to reproduced the issue on both ColumnStore 1.1.0 and InfiniDB 4.6.7-1. The test was to have 5 concurrent sessions, each to rename the lineitem table to lineitem1 and back, and select from the it. As expected, the tests resulted some "table does not exist" errors, but not the issues that were described in the ticket. |
| Comment by Andrew Hutchings (Inactive) [ 2018-12-20 ] |
|
Couldn't reproduce the problem |