[MDEV-27418] ALTER TABLE ... ENGINE=S3 fails if table is outside datadir Created: 2022-01-04 Updated: 2022-01-06 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - S3 |
| Affects Version/s: | 10.6.5 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Louis Brauer | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 20.04 |
||
| Description |
|
Moving a table to S3 using ALTER TABLE fails if the table has a data directory outside the default data directory in *stage 2* with the following message:
CREATE TABLE statement was:
This is was happend:
The table is around 60GB in size. The default data dir is not big enough to hold this table which why it is configured to sit in a block storage device. However, with this bug, it is not possible to move this table to S3. |