[MCOL-872] Crash when count distinct COLUMNSTORE_FILES Created: 2017-08-11 Updated: 2017-08-24 Resolved: 2017-08-24 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | 1.0.10 |
| Fix Version/s: | Icebox |
| Type: | Task | Priority: | Minor |
| Reporter: | MG | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
[root@mg-cstore ~]# /etc/init.d/columnstore start Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [mgtest]> create table t1 (id int, blah varchar(64)) engine=columnstore; MariaDB [mgtest]> insert into t1 select seq, null from seq_1_to_1000; MariaDB [mgtest]> select count
----------
---------- MariaDB [mgtest]> select count(FILENAME) from information_schema.COLUMNSTORE_FILES;
-----------------
----------------- MariaDB [mgtest]> select distinct FILENAME from information_schema.COLUMNSTORE_FILES;
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------ MariaDB [mgtest]> select count(distinct FILENAME) from information_schema.COLUMNSTORE_FILES; MariaDB [mgtest]> select count(distinct table_schema) from information_schema.tables; ------------------------------
------------------------------
------------------------------ MariaDB [mgtest]> select count(distinct FILENAME) from information_schema.COLUMNSTORE_FILES; Crash log: /usr/local/mariadb/columnstore/mysql//bin/mysqld(my_print_stacktrace+0x29)[0xb33e39] |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-08-11 ] | ||||
|
Can't reproduce this on my local centos 7 test instance. But maybe you can see something with the crash log? | ||||
| Comment by Andrew Hutchings (Inactive) [ 2017-08-12 ] | ||||
|
Hi MG, can you please let us know what platform you are running on? There are subtle differences between the various platforms and it would help us analyse that stack. | ||||
| Comment by MG [ 2017-08-12 ] | ||||
|
It turns out to happen with this setting in mysqld: max_heap_table_size=16K You can ignore the uploaded file (now deleted) | ||||
| Comment by MG [ 2017-08-16 ] | ||||
|
This seems to be a duplicate of | ||||
| Comment by Andrew Hutchings (Inactive) [ 2017-08-16 ] | ||||
|
Whilst I haven't been able to reproduce this, I think you are correct. In which case the fix will be included in 1.0.11. If you could re-test once this is released that would be really helpful. | ||||
| Comment by MG [ 2017-08-24 ] | ||||
|
This is no longer an issue after upgrading to the latest GA: Welcome to the MariaDB monitor. Commands end with ; or \g. Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> select count(distinct table_schema) from information_schema.tables;
------------------------------
------------------------------ MariaDB [(none)]> select count(distinct FILENAME) from information_schema.COLUMNSTORE_FILES;
--------------------------
-------------------------- | ||||
| Comment by Andrew Hutchings (Inactive) [ 2017-08-24 ] | ||||
|
Thank you for confirming. I'll close this ticket then. | ||||
| Comment by Andrew Hutchings (Inactive) [ 2017-08-24 ] | ||||
|
Closed as a duplication of an MDEV as discussed. |