[MDEV-8240] Unknown option 'table_type' when using Connect Engine on MariaDB 10.0.19 Galera Created: 2015-05-28 Updated: 2015-07-31 Resolved: 2015-07-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Storage Engine - Connect |
| Affects Version/s: | 10.0.19-galera |
| Fix Version/s: | 10.0.21-galera |
| Type: | Bug | Priority: | Major |
| Reporter: | Todd Stoffel | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | connect-engine, galera, oqgraph, packaging | ||
| Environment: |
Ubuntu 15.04 with MariaDB 10.0.19 Galera Server installed from packages using https://downloads.mariadb.org/mariadb/repositories/#mirror=ut-austin&distro=Ubuntu&version=10.0&distro_release=vivid--ubuntu_vivid |
||
| Attachments: |
|
| Description |
|
MariaDB throwing error and crashing: Unknown option 'table_type' Happens when using Connect Engine on MariaDB 10.0.19 Galera |
| Comments |
| Comment by Elena Stepanova [ 2015-05-28 ] |
|
Please paste the exact SQL query you are trying to run, the full output from the client where you run it, and attach the error log from the crashing server. |
| Comment by Todd Stoffel [ 2015-05-29 ] |
|
Any attempt to create a CONNECT engine table fails. Even the example presented on the MariaDB website fails: create table essai ( Looks like a similar issue reported here: https://mariadb.atlassian.net/browse/MDEV-7804 |
| Comment by Elena Stepanova [ 2015-05-30 ] |
|
Thanks. Could you please check that SHOW ENGINES actually shows the CONNECT engine, and it's in active state? (Support = YES). If SHOW ENGINES shows CONNECT all right, please attach your error log – you mentioned that the server also crashes after the failed attempt, if you can obtain the stack trace, please add it as well (hopefully it's already in the error log, but if not, you can get it from the coredump if your server produces it). |
| Comment by Todd Stoffel [ 2015-06-01 ] |
|
100% positive that Connect Engine is active. |
| Comment by Elena Stepanova [ 2015-06-01 ] |
|
Please paste the output of SHOW ENGINES and, as requested above, attach your error log. Thanks. |
| Comment by Todd Stoffel [ 2015-06-01 ] |
|
The error log shows NOTHING about the issue: 150601 09:24:33 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql |
| Comment by Elena Stepanova [ 2015-06-01 ] |
|
Thanks. But you said in the description that MariaDB crashes when it throws the error, how/where did you see it? |
| Comment by Todd Stoffel [ 2015-06-01 ] |
|
Crash does not happen when trying to create Connect Engine table. Only happens if you try to run a query that uses a Connect Engine table in MariaDB 10.0.19 Galera or create the Connect Engine without specifying table type. In that case, the error log is as follows: 150601 9:37:41 [ERROR] mysqld got signal 11 ; To report this bug, see http://kb.askmonty.org/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.0.19-MariaDB-1~vivid-wsrep Thread pointer: 0x0x7f83c63f7008 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
| Comment by Elena Stepanova [ 2015-06-02 ] |
|
Thanks for clarification. I can reproduce both parts ("Unknown option 'table_type'" and the crash), but only on the Galera server. To reproduce, it does not have to be a cluster or even an active node, the provider can be set to none, but it must be a server from mariadb-galera-server. mariadb-server 10.0.19 works all right, on the same vivid, with the same Connect engine library. So, if, as we discussed earlier, Connect engine is supposed to be supported for MGC, it appears to be a bug for Galera. |
| Comment by Nirbhay Choubey (Inactive) [ 2015-07-30 ] |
|
https://github.com/MariaDB/server/commit/0abde01f5e9a61cc482711b9b5f04a9815401ddb |