[MDEV-11898] tablespace does not exist or is just being dropped Created: 2017-01-24 Updated: 2018-09-21 Resolved: 2018-03-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.21 |
| Fix Version/s: | 10.3.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Reindl Harald | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
why can't there be a simple starup option to cleanup that orpahned references at startup one for all instead need to consider dump and re-create the whole server? in 2009 mysqld crahsed due 'alter table' (files-per-table) and temporary files where left, after they did not change their timestamp for days i deleted them and the warnings started - to get rid of them i created a table with the same structure and named them identically with 10.1.x the slightly mismatch leads to crash the server at startup, see below removing that files and mysqld starts again but eevery time with the warning the the file does not exist and https://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting-datadict.html is not helpful
that crap temp files never deleted are from years ago and a crash until now it was enough to keep that tempfiles, with 10.1.x mariadb don't start at all - how to get rid of that crap the idiotic warnings are one thing but the segfauls now...
|
| Comments |
| Comment by Reindl Harald [ 2017-01-24 ] |
|
currently at every startup you get that error messages - the global tablespace is really horrible compared to MyISAM where a table are just two files and if they are gone, well, they are gone 2017-01-24 10:54:19 7f292c6d6940 InnoDB: Operating system error number 2 in a file operation. |
| Comment by Marko Mäkelä [ 2018-03-14 ] |
|
hreindl, I fully agree with you: the InnoDB system tablespace is horrible and should be removed (MDEV-11633). But it is a long journey to get there. (Already before joining Innobase in 2003 I thought that it is a bad concept. Before I joined MariaDB 13¼ years later, doing that was out of the question.) When it comes to dropping orphaned tables, I believe that your #mysql50##sql… trick should have worked if you had manually created a matching #sql….frm file. That said, I fixed this bug in MariaDB 10.3.3 under Before I felt safe to do this, I had to make rename operations crash-safe in InnoDB ( |
| Comment by Reindl Harald [ 2018-03-14 ] |
|
i would be happy if there would be only a startup option allow automatically remove all references for the stuff below - that problem is from 2009 and was silenced by fake files but with 10.1 their existence leaded to the crash i reported here, so i decided just delete them and live with the warnings at startup, but there should be really a capability to cleanup that issue do i understand " 2018-03-14 12:38:27 139973611099328 [ERROR] InnoDB: Operating system error number 2 in a file operation. |