[MDEV-8575] MySQL refuse to start after a crash Created: 2015-08-07 Updated: 2017-08-15 Resolved: 2015-09-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption |
| Affects Version/s: | 10.1.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Aurélien LEQUOY | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Ubuntu 12.04 + MariaDB 10.1.6 (from the repository) |
||
| Issue Links: |
|
||||||||
| Description |
|
The goal was to see impact on perf with and without encryption. my.cnf
I made some test with sysbench and server crashed few time after (and server was inactif), because I could finish my test and I see that the encryption decrease perf of 15%. last sysbench : sysbench --test=/usr/share/doc/sysbench/tests/db/oltp.lua --num-threads=32 --mysql-host=localhost --mysql-user=root --db-driver=mysql --mysql-password=password --mysql-db=test --max-time=60 --max-requests=0 run (with table encrypted) |
| Comments |
| Comment by Aurélien LEQUOY [ 2015-08-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I removed options of encryptions and set i back in [mysqld] and I got :
i guess server tried to encrypt somthing on server and make it wrong and now impossible to start the server due to this problem | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Aurélien LEQUOY [ 2015-08-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I removed options of encryptions and set i back in section * [mariadb-10.1]* and I got :
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Aurélien LEQUOY [ 2015-08-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
to make server back I delete database directory with encrypted table and server started | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-08-11 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
So, there are several failures here. In the reverse order: Assertion failure in thread 140585934886784 in file log0recv.cc line 2833 I also had this one here: "InnoDB: Redo log crypto: getting mysqld crypto key from key version failed. Reason could be that requested key_version 1 is not found or required encryption key management is not found." I did not quite understand how you got this one. You said "I removed options of encryptions and set i back in [mysqld]", but it would be easier if you just provided the config you used at that time. "Assertion failure in thread 140191626835840 in file os0sync.cc line 419" "InnoDB: Failing assertion: event" You put it in the initial description saying that it just happened some time after the test; but according to the log, it actually happened on server startup, when InnoDB was performing recovery. So, it either means that somebody killed the server before, or that the server crashed before. To see which it was, we need the part of the error log BEFORE this happened, before the server was restarted. Could you please provide it? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-09-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It could be useful to know more about the second and third problems, but on the other hand, 10.1.7 will be out very soon (most likely in 1-2 days), there were lots of encryption-related fixes and changes in there, so you could just try it out. In any case, if you have new information regarding the issues you described, please comment to re-open the report. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Rubin [ 2016-02-26 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Same problem with Galera Cluster and rsync for SST. |