[MDEV-6426] Maria DB crashes randomly on creating indexes Created: 2014-07-08 Updated: 2014-07-22 Resolved: 2014-07-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.12 |
| Fix Version/s: | 10.0.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Adrian Nicoara | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 8.1 update |
||
| Attachments: |
|
| Description |
|
Since i upgraded to 10.0.12 i have a lot of issues with mariadb crashing on innodb operations like create indexes and create primary keys. First i had problems with FTS indexes creation and SELECT FTS in queries, so i had to start mariadb in recovery mode to be able to dump all the databases and delete all data files to recreate everything from 0 and import all sql files. Now FTS works(doesn't crash the server) but i get random crash when creating indexes in tables(indexes of any kinds). Also for foreign keys. This is example of log entries when i start the server after a crash.
|
| Comments |
| Comment by Elena Stepanova [ 2014-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Did you change configuration or move your database-related files (physically, on disk) together with the upgrade? Please attach your ini file(s) and/or SHOW VARIABLES output. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrian Nicoara [ 2014-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Here are Ini files and SHOW VARIABLES. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Is this F: disk where the datadir/basedir are located a normal local HDD/SSD, or is it a network or an external storage? | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrian Nicoara [ 2014-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Hello, All(C,D,E,F,G,H) are partitions on the same disk, i use every partition for specific kinds of operations. On F i have the database and all my php projects and sources, I check the disk frequently(once at 2 days) for errors, and everything seems to work, fine. All the other stuffs works without any problems. I never had a disk read/write error. I also checked SMART monitor and windows performance logs and i saw no error regarding disk access. I can try to downgrade and check if the errors still persist. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-07-19 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for the information. Actually, it's a weird error in itself: Maybe this weirdness will somehow help jplindst to see what could cause it. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrian Nicoara [ 2014-07-21 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Hello, I tested a while 10.0.10 and didn't had problems. I did the same stuffs(my workflow) and didn't crashed, everything worked fine. The row i wanted to insert didn't commit into the DB. I didn't used transactions, just the regular INSERT INTO. I have a text column inside but the length of the data was very small(about 20 characters). BTW I'm using ZEND Framework 1 DB adapter and i use the php 5.4 builtin connector. Nothing on the log. If i want to reproduce it I can't, but if I use it for normal work flow it crashes from time to time Hopefully i get a test case for it soon. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrian Nicoara [ 2014-07-21 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
After DB restart : InnoDB: Transaction 114408 was in the XA prepared state. So query was commited finally after restart. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2014-07-22 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
This sounds like a permission problem, your my.ini is that correct one, why no innodb related configuration is not given ? Note that when InnoDB creates indexes, it creates temporal files, make sure that these temporal files are created on place where there is enough space and sufficient permissions. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrian Nicoara [ 2014-07-22 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Hello, There is no problem with permissions. Here is the full start log. I cropped it last time to what i was thinking that is needed.
|