Hi,
I discovered a bug when using storage-engine ARIA with row_format=DYNAMIC (only mariaDB 10.2.7 or greather), the table contain ~9million rows. I tested this issue, with mariaDB 10.0.33, 10.1.29 and 10.2.6 and this version are correct). If i add more index to table, i got this error:
[Warning] Warning: Enabling keys got errno 136 on test.#sql-3074_a, retrying
|
Table definition:
CREATE TABLE `aria_dynamic` (
|
`id` INT(10) UNSIGNED NOT NULL,
|
`u_id` INT(10) UNSIGNED NOT NULL,
|
`v_id` INT(10) UNSIGNED NOT NULL,
|
`v_date` DATETIME NOT NULL,
|
`status` INT(1) UNSIGNED NOT NULL DEFAULT '0',
|
`deletable` INT(1) UNSIGNED NOT NULL DEFAULT '0',
|
PRIMARY KEY (`id`),
|
UNIQUE INDEX `*u_id*` (`u_id`, `v_id`, `status`),
|
INDEX `*v_date*` (`v_date`),
|
INDEX `*deletable*` (`deletable`),
|
INDEX `*v_id_status*` (`v_id`, `status`)
|
)
|
COLLATE='utf8_general_ci'
|
ENGINE=Aria
|
ROW_FORMAT=DYNAMIC
|
AUTO_INCREMENT=42606736;
|
Table status:
Name|Engine|Version|Row_format|Rows|Avg_row_length|Data_length|Max_data_length|Index_length|Data_free|Auto_increment|Create_time|Update_time|Check_time|Collation|Checksum|Create_options|Comment
|
aria_dynamic|Aria|10|Dynamic|9030620|25|231952596|281474976710655|444153856|0|NULL|2017-11-30 08:59:33|2017-11-30 09:00:01|2017-11-30 09:00:00|utf8_general_ci|NULL|page_checksum=0 row_format=DYNAMIC transactional=0|...
|
So, if i import the table dump from sql file, the process stopped on the add indexes progress.
If i create table, and add only the data, it's working fine, until i add 4 indexes (primary, unique u_id, v_date and deletable). But if i add the v_id_status index, the process stopped with error no:136.
This table full of data and indexes working fine on 10.0.33 (and tested 10.1.29, 10.2.6 where is it ok), but try on 10.2.7 (or greather) and the import or add more indexes failed...
Remark:
If the deletable and status fields converted from int to tinyint, everything fine. Or try half of the data (~4-5 millions row) also fine...
I tried with row_format = PAGE, and worked fine, with full of data and indexes...
Tables status:
Name|Engine|Version|Row_format|Rows|Avg_row_length|Data_length|Max_data_length|Index_length|Data_free|Auto_increment|Create_time|Update_time|Check_time|Collation|Checksum|Create_options|Comment
|
aria_dynamic|Aria|10|Dynamic|9030620|25|231952596|281474976710655|444153856|0|NULL|2017-11-30 08:59:33|2017-11-30 09:00:01|2017-11-30 09:00:00|utf8_general_ci|NULL|page_checksum=0 row_format=DYNAMIC transactional=0|...
|
aria_dynamic_half|Aria|10|Dynamic|5030620|25|127768488|281474976710655|318177280|0|NULL|2017-11-30 09:10:26|2017-11-30 09:10:47|2017-11-30 09:10:46|utf8_general_ci|NULL|page_checksum=1 row_format=DYNAMIC|...
|
aria_page|Aria|10|Page|9030620|32|290136064|17592186011648|407986176|0|NULL|2017-11-29 14:20:18|2017-11-29 14:21:03|2017-11-29 14:21:03|utf8_general_ci|NULL|page_checksum=0 row_format=PAGE transactional=0|...
|
regards
János
- relates to
-
MDEV-14326
engine ARIA with row_format=FIXED is broken
-
-
Closed
{"report":{"fcp":1194.2000000476837,"ttfb":345.80000019073486,"pageVisibility":"visible","entityId":64619,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"a72f32aa-2d68-457f-ab1f-aa67a13c4ba1","navigationType":0,"readyForUser":1288.5,"redirectCount":0,"resourceLoadedEnd":1681.3000001907349,"resourceLoadedStart":375.7000000476837,"resourceTiming":[{"duration":263.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":375.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":639.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":264,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":376,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":376,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":640,"responseStart":0,"secureConnectionStart":0},{"duration":334.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":376.10000014305115,"connectEnd":376.10000014305115,"connectStart":376.10000014305115,"domainLookupEnd":376.10000014305115,"domainLookupStart":376.10000014305115,"fetchStart":376.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":376.10000014305115,"responseEnd":710.5,"responseStart":710.5,"secureConnectionStart":376.10000014305115},{"duration":468.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":376.30000019073486,"connectEnd":376.30000019073486,"connectStart":376.30000019073486,"domainLookupEnd":376.30000019073486,"domainLookupStart":376.30000019073486,"fetchStart":376.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":376.30000019073486,"responseEnd":845,"responseStart":845,"secureConnectionStart":376.30000019073486},{"duration":472.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":376.5,"connectEnd":376.5,"connectStart":376.5,"domainLookupEnd":376.5,"domainLookupStart":376.5,"fetchStart":376.5,"redirectEnd":0,"redirectStart":0,"requestStart":376.5,"responseEnd":849.1000001430511,"responseStart":849.1000001430511,"secureConnectionStart":376.5},{"duration":472.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":376.80000019073486,"connectEnd":376.80000019073486,"connectStart":376.80000019073486,"domainLookupEnd":376.80000019073486,"domainLookupStart":376.80000019073486,"fetchStart":376.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":376.80000019073486,"responseEnd":849.7000000476837,"responseStart":849.7000000476837,"secureConnectionStart":376.80000019073486},{"duration":473.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":377,"connectEnd":377,"connectStart":377,"domainLookupEnd":377,"domainLookupStart":377,"fetchStart":377,"redirectEnd":0,"redirectStart":0,"requestStart":377,"responseEnd":850.2000000476837,"responseStart":850.2000000476837,"secureConnectionStart":377},{"duration":480.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":377.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":377.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":858.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":473.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":377.30000019073486,"connectEnd":377.30000019073486,"connectStart":377.30000019073486,"domainLookupEnd":377.30000019073486,"domainLookupStart":377.30000019073486,"fetchStart":377.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":377.30000019073486,"responseEnd":850.7000000476837,"responseStart":850.6000001430511,"secureConnectionStart":377.30000019073486},{"duration":480.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":377.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":377.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":858.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":474,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":377.7000000476837,"connectEnd":377.7000000476837,"connectStart":377.7000000476837,"domainLookupEnd":377.7000000476837,"domainLookupStart":377.7000000476837,"fetchStart":377.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":377.7000000476837,"responseEnd":851.7000000476837,"responseStart":851.6000001430511,"secureConnectionStart":377.7000000476837},{"duration":1289.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":378.5,"connectEnd":378.5,"connectStart":378.5,"domainLookupEnd":378.5,"domainLookupStart":378.5,"fetchStart":378.5,"redirectEnd":0,"redirectStart":0,"requestStart":378.5,"responseEnd":1668.2000000476837,"responseStart":1668.1000001430511,"secureConnectionStart":378.5},{"duration":1291.3999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":378.60000014305115,"connectEnd":378.60000014305115,"connectStart":378.60000014305115,"domainLookupEnd":378.60000014305115,"domainLookupStart":378.60000014305115,"fetchStart":378.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":378.60000014305115,"responseEnd":1670,"responseStart":1670,"secureConnectionStart":378.60000014305115},{"duration":203,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":873.5,"connectEnd":873.5,"connectStart":873.5,"domainLookupEnd":873.5,"domainLookupStart":873.5,"fetchStart":873.5,"redirectEnd":0,"redirectStart":0,"requestStart":873.5,"responseEnd":1076.5,"responseStart":1076.5,"secureConnectionStart":873.5},{"duration":530.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1142,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1142,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1672.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":531.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1143.2000000476837,"connectEnd":1143.2000000476837,"connectStart":1143.2000000476837,"domainLookupEnd":1143.2000000476837,"domainLookupStart":1143.2000000476837,"fetchStart":1143.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1143.2000000476837,"responseEnd":1674.7000000476837,"responseStart":1674.7000000476837,"secureConnectionStart":1143.2000000476837},{"duration":537.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1143.5,"connectEnd":1143.5,"connectStart":1143.5,"domainLookupEnd":1143.5,"domainLookupStart":1143.5,"fetchStart":1143.5,"redirectEnd":0,"redirectStart":0,"requestStart":1143.5,"responseEnd":1681.3000001907349,"responseStart":1681.3000001907349,"secureConnectionStart":1143.5},{"duration":526.2000000476837,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1185.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1185.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1711.9000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":159,"responseStart":346,"responseEnd":370,"domLoading":372,"domInteractive":1722,"domContentLoadedEventStart":1722,"domContentLoadedEventEnd":1780,"domComplete":2177,"loadEventStart":2177,"loadEventEnd":2177,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1679.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1680.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1680.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1683.6000001430511},{"name":"activityTabFullyLoaded","time":1812.1000001430511}],"measures":[],"correlationId":"d1ae67c829e7d9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":12,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Thanks for the report!
The problem is reproducible after commit dd8474b1dc556d0ea9491d19 in MariaDB 10.2
[Warning] Warning: Enabling keys got errno 136 on test.#sql-5eac_9, retrying
mysqld: /home/alice/AM/m8-10.2/src/storage/maria/ha_maria.cc:2032: virtual int ha_maria::enable_indexes(uint): Assertion `thd->killed != 0' failed.
[ERROR] mysqld got signal 6 ;
testcase:
--source include/have_sequence.inc
CREATE TABLE `t1` (
`id` INT(10) UNSIGNED NOT NULL,
`u_id` INT(10) UNSIGNED NOT NULL,
`v_id` INT(10) UNSIGNED NOT NULL,
`v_date` DATETIME NOT NULL,
`status` INT(1) UNSIGNED NOT NULL DEFAULT 0,
`deletable` INT(1) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=Aria ROW_FORMAT=DYNAMIC;
insert into t1 SELECT seq,seq,seq,now(),0,0 FROM seq_1_to_10000000;
alter table t1 add UNIQUE INDEX `*u_id*` (`u_id`, `v_id`, `status`);
alter table t1 add INDEX `*v_date*` (`v_date`);
alter table t1 add INDEX `*deletable*` (`deletable`);
alter table t1 add index `*v_id_status*` (`v_id`, `status`);
drop table t1;
Thread 1 (Thread 0x7fabb931d700 (LWP 30259)):
#0 __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:62
#1 0x000055c0466036ff in my_write_core (sig=6) at /home/alice/git/10.2/mysys/stacktrace.c:477
#2 0x000055c045e952ec in handle_fatal_signal (sig=6) at /home/alice/git/10.2/sql/signal_handler.cc:303
#3 <signal handler called>
#4 0x00007fabbf04a428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#5 0x00007fabbf04c02a in __GI_abort () at abort.c:89
#6 0x00007fabbf042bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x55c04693bf87 "thd->killed != 0", file=file@entry=0x55c04693b830 "/home/alice/git/10.2/storage/maria/ha_maria.cc", line=line@entry=2032, function=function@entry=0x55c04693c900 <ha_maria::enable_indexes(unsigned int)::__PRETTY_FUNCTION__> "virtual int ha_maria::enable_indexes(uint)") at assert.c:92
#7 0x00007fabbf042c82 in __GI___assert_fail (assertion=0x55c04693bf87 "thd->killed != 0", file=0x55c04693b830 "/home/alice/git/10.2/storage/maria/ha_maria.cc", line=2032, function=0x55c04693c900 <ha_maria::enable_indexes(unsigned int)::__PRETTY_FUNCTION__> "virtual int ha_maria::enable_indexes(uint)") at assert.c:101
#8 0x000055c046493daf in ha_maria::enable_indexes (this=0x7faba81664d0, mode=2) at /home/alice/git/10.2/storage/maria/ha_maria.cc:2032
#9 0x000055c04649447c in ha_maria::end_bulk_insert (this=0x7faba81664d0) at /home/alice/git/10.2/storage/maria/ha_maria.cc:2221
#10 0x000055c045c0b007 in handler::ha_end_bulk_insert (this=0x7faba81664d0) at /home/alice/git/10.2/sql/handler.h:2898
#11 0x000055c045cfafe9 in copy_data_between_tables (thd=0x7faba8000a98, from=0x7faba8176848, to=0x7faba8165938, create=..., ignore=false, order_num=0, order=0x0, copied=0x7fabb93194e8, deleted=0x7fabb93194f0, keys_onoff=Alter_info::LEAVE_AS_IS, alter_ctx=0x7fabb931a1c0) at /home/alice/git/10.2/sql/sql_table.cc:10026
#12 0x000055c045cf9316 in mysql_alter_table (thd=0x7faba8000a98, new_db=0x7faba8186cc0 "test", new_name=0x0, create_info=0x7fabb931ae00, table_list=0x7faba8115d80, alter_info=0x7fabb931ad20, order_num=0, order=0x0, ignore=false) at /home/alice/git/10.2/sql/sql_table.cc:9450
#13 0x000055c045d7251b in Sql_cmd_alter_table::execute (this=0x7faba80f9d80, thd=0x7faba8000a98) at /home/alice/git/10.2/sql/sql_alter.cc:324
#14 0x000055c045c2e667 in mysql_execute_command (thd=0x7faba8000a98) at /home/alice/git/10.2/sql/sql_parse.cc:6197
#15 0x000055c045c33241 in mysql_parse (thd=0x7faba8000a98, rawbuf=0x7faba806d020 "alter table t1 add index `*v_id_status*` (`v_id`, `status`)", length=60, parser_state=0x7fabb931c1f0, is_com_multi=false, is_next_command=false) at /home/alice/git/10.2/sql/sql_parse.cc:7887
#16 0x000055c045c20e66 in dispatch_command (command=COM_QUERY, thd=0x7faba8000a98, packet=0x7faba8007fe9 "", packet_length=60, is_com_multi=false, is_next_command=false) at /home/alice/git/10.2/sql/sql_parse.cc:1805
#17 0x000055c045c1f7bd in do_command (thd=0x7faba8000a98) at /home/alice/git/10.2/sql/sql_parse.cc:1360
#18 0x000055c045d6d232 in do_handle_one_connection (connect=0x55c04992eb28) at /home/alice/git/10.2/sql/sql_connect.cc:1354
#19 0x000055c045d6cfb2 in handle_one_connection (arg=0x55c04992eb28) at /home/alice/git/10.2/sql/sql_connect.cc:1260
#20 0x000055c0460c9f2e in pfs_spawn_thread (arg=0x55c04988e6e8) at /home/alice/git/10.2/storage/perfschema/pfs.cc:1863
#21 0x00007fabbfc876ba in start_thread (arg=0x7fabb931d700) at pthread_create.c:333
#22 0x00007fabbf11c3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
similar testcase:
CREATE TABLE `t1` (
`id` INT PRIMARY KEY,
`u_id` INT,
`v_id` INT,
`v_date` DATETIME,
`status` INT(1) DEFAULT 0,
`deletable` INT(1) DEFAULT 0
) ENGINE=Aria ROW_FORMAT=DYNAMIC;
insert into t1 SELECT seq,seq,seq,now(),0,0 FROM seq_1_to_10000000;
alter table t1 add UNIQUE INDEX `*u_id*` (`u_id`, `v_id`, `status`);
alter table t1 add INDEX `*v_date*` (`v_date`);
alter table t1 add INDEX `*deletable*` (`deletable`);
alter table t1 add index `*v_id_status*` (`v_id`, `status`);
on 10.2.11:
ERROR 1034 (HY000): Create index by sort failed
2017-12-02 16:51:39 140589676951296 [Warning] Warning: Enabling keys got errno 136 on test.#sql-6782_9, retrying
2017-12-02 23:15:48 140517019555648 [ERROR] mysqld: Can't lock aria control file 'm6-10.2.11/dt/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
2017-12-02 23:16:19 140517019555648 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file 'm6-10.2.11/dt/aria_log_control'
2017-12-02 23:16:19 140517019555648 [ERROR] Plugin 'Aria' init function returned error.
2017-12-02 23:16:19 140517019555648 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.