[MDEV-15591] Create index fails on innoDB temporary table Created: 2018-03-16 Updated: 2018-06-21 Resolved: 2018-03-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.3, 10.3.0 |
| Fix Version/s: | 10.2.14, 10.3.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kenneth Penza | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
MariaDB version 10.2.13-MariaDB-10.2.13+maria~xenial-log running on Ubuntu 16.04 |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Create index on temporary table fails when table is sufficiently large and innoDB temporary tablespace as a small initial size. Whilst working on the test case I noted that create index fails when `innodb_temp_data_file_path` is set to 'ibtmp1:12M:autoextend' or 'ibtmp1:16M:autoextend, but succeeds with setting 'ibtmp1:64M:autoextend'. The filesystems have sufficient free to accommodate the growth of the temporary tablespace. MariaDB should increase the size of the temporary tablespace to accommodate the data and index automatically. An error should be returned only if the filesystem is full or the maximum size of the tablespace has been reached. Fails:
Succeeds:
The configuration of MariaDB when it fails:
|
| Comments |
| Comment by Elena Stepanova [ 2018-03-16 ] | ||||||||||
|
Thanks for the report and test case.
The fix will be in the upcoming 10.2.14 release. | ||||||||||
| Comment by Marko Mäkelä [ 2018-06-21 ] | ||||||||||
|
This bug was a regression of |