[MCOL-4105] calling stored procedures in columnstore_info database caused mariadbd to crash Created: 2020-06-24 Updated: 2020-12-03 Resolved: 2020-12-03 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 1.5.2 |
| Fix Version/s: | 5.5.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Build tested: 1.5.2-1 (community edition b33685) There are four stored procedures in the columnstore_info database. Calling any one of them will caused mariadbd to crash. MariaDB [columnstore_info]> call columnstore_info.table_usage('mytest','orders'); MariaDB [columnstore_info]> call columnstore_info.compression_ratio; ERROR 2013 (HY000): Lost connection to MySQL server during query MariaDB [columnstore_info]> call columnstore_info.total_usage; ERROR 2013 (HY000): Lost connection to MySQL server during query MariaDB [columnstore_info]> call columnstore_info.columnstore_upgrade; ERROR 1815 (HY000): Internal error: Calpont system tables can only be created with 'SCHEMA SYNC ONLY' |
| Comments |
| Comment by David Hall (Inactive) [ 2020-12-01 ] | ||||||||||||||||||||||||||||||||
|
The first three procedures work in 5.5. | ||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2020-12-02 ] | ||||||||||||||||||||||||||||||||
|
Build tested: 5.5.1 (Drone build 1233) I checked with release 5.4.3-1. The first three functions worked fine and the last one returned: MariaDB [mytest]> call columnstore_info.columnstore_upgrade; However, all functions are broken in 5.5.1 MariaDB [mytest]> call columnstore_info.table_usage('mytest','orders');
-------------------
------------------- Query OK, 0 rows affected (0.290 sec) MariaDB [mytest]> call columnstore_info.total_usage;
----------------
---------------- Query OK, 0 rows affected (0.242 sec) MariaDB [mytest]> call columnstore_info.columnstore_upgrade; MariaDB [mytest]> show tables;
------------------
------------------ Now calling table_usage() again would return: MariaDB [mytest]> call columnstore_info.table_usage('mytest','lineitem'); But yet, I was able to insert into the quicktest table.
------
------ MariaDB [mytest]> select * from quicktest; MariaDB [mytest]> insert into quicktest values (1, 'hello world'); MariaDB [mytest]> select * from quicktest;
-----
----- MariaDB [mytest]> call columnstore_info.table_usage('mytest','quicktest'); I created a new tpch1 database and had the same issues. restarting the cluster did not correct these issues. | ||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2020-12-03 ] | ||||||||||||||||||||||||||||||||
|
Build verified: 5.5.1 (Drone 1251) It worked in this newer build. |