[MDEV-14549] ERROR 2013 (HY000): Lost connection persists Created: 2017-11-30 Updated: 2017-12-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.11 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Fabio Valeri | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | innodb | ||
| Environment: |
Windows 7 |
||
| Attachments: |
|
| Description |
|
I have several databases:
and many other databases on the same MariaDB instance. When I submit an sql to fire_curr_add, for example:
I get connection to the server and results. When I send the query
I get the error:
and the service stops. When I restart the service each time I want to access the database curr the serivice stops. This is not the case for nearly all other databases Other affected database, tables and columns:
But if I try the same with table columns:
the connection will be lost. This works:
Also this:
But if I submit
or
the connection will be lost. Summary: some database disconnect the mysql-server and also some columns of tables. This problems was also submitted to stackoverflow. Attachmemts
Other relevant informations:
|
| Comments |
| Comment by Vladislav Vaintroub [ 2017-11-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The crash from the error log
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-11-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
giordano, thank you for the report. I believe that the issue is that the InnoDB system tablespace is shorter than expected, and some pages of the internal tables SYS_FOREIGN or SYS_FOREIGN_COLS are located in the missing portion of the system tablespace. I have some questions. Please answer them. Finally, let me copy my response from the StackOverflow discussion:
I think that we should repurpose this report as "Implement an option for InnoDB to ignore SYS_FOREIGN, SYS_FOREIGN_COLS when loading table definitions". | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Fabio Valeri [ 2017-12-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you very much for your help. I try to answer your question as good as possible. Since I'm not a database specialist I may answered your question not correctly. What is the history of the database like? I'm not sure if I understand this question. The second instance of MariaDB on my Workstation drive D has version 10.1.23. I use MariaDB/fire_curr since 4 years starting with version 5. I add a new attachment jira_02_Program Files_MariaDB 10.2_data.png which shows the content of \data. Were the files copied at any point? What do you mean with file? If you mean the files in Any previous crashes before this problem started to occur? Any DDL? Did innodb_data_file_path ever contain references to multiple data files? In case that there is no solution what would you suggest to do:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Fabio Valeri [ 2017-12-08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I wanted to reinstall MariaDB. When I started deinstall/change of MaridaDB through the application wizard of Window 7 it ask if I wanted to Change/Repair/Remove. I decided to repair. After that MariaDB worked as usually. That is I could submit queries without loosing connection. Upgrad from MariaDB from 10.2.6 to 10.2.11 didn't help but repair. I attached the "repair"-GUI and the new err.log (WS20130124-2_20171207_NEW). Lesson learnt: Before asking SO repair MariaDB. |