[MDEV-14326] engine ARIA with row_format=FIXED is broken Created: 2017-11-08 Updated: 2021-02-21 Resolved: 2018-01-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | 10.2.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marc Pohl | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | regression | ||
| Environment: |
Ubuntu 16.04 LTS 64 Bit (fresh install in VM) |
||
| Issue Links: |
|
||||||||
| Description |
|
hi, i discovered a bug when using the storage-engine ARIA with row_format=FIXED. we use this combination for an efficient storage of a highly partioned table with more than 4*10^9 rows. after migration from mariadb 10.1 to 10.2 our import was broken because of
my first thought was that it is a problem related to partitioning (we create a new partition every month and first occurence of the problem was on the same day). after playing around with the create-statement i detected that this problem is not related to partitioning but to the row_format. our table definition is not very complex
when we now insert data into this table, then the table is full after the fourth multi-insert-statement (1MB sql per statement ).
you will note that max_data_length is a small value
we now reverted the database to current release of mariadb 10.1 and after reimport everything was ok again. "show table" in 10.1 reports for the table
regards |
| Comments |
| Comment by Alice Sherepa [ 2017-11-17 ] | ||||||||||||||
|
Thanks for the report! Error appears on MariaDB versions >=10.2.7 after commit dd8474b1dc556d0ea9491d1908a2d1 testcase:
| ||||||||||||||
| Comment by Michael Widenius [ 2018-01-18 ] | ||||||||||||||
|
A workaround is to specify MAX_ROWS when creating the Aria table. By default, the number of rows allocated for FIXED is too small. Will fix that this only happens if one explicitly uses max_rows to limit the size of the table. | ||||||||||||||
| Comment by Michael Widenius [ 2018-01-18 ] | ||||||||||||||
|
Fix pushed |