[MDEV-8156] Assertion failure in file log0crypt.cc line 220 on server restart Created: 2015-05-13 Updated: 2015-08-06 Resolved: 2015-06-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.4 |
| Fix Version/s: | 10.1.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.1.6-1 |
| Description |
|
If the server was previously started with InnoDB log encryption, restarting the server without the encryption plugin causes the assertion failure as below. On a release build, there is no assertion failure, but a crash with SIGABRT. I realize it cannot really work without the plugin on encrypted logs, and expect it to abort, but it would be good to have clear diagnostics for this rather than the scary crash. Also, I thought it might work with innodb_fast_shutdown turned off, but it doesn't make a difference.
To reproduce:
|
| Comments |
| Comment by Jan Lindström (Inactive) [ 2015-06-18 ] | ||||||||||||||||||||||||||||||
|
commit f5ddffd83e627cc0f6a24dfe4d8fc2e0c983bf78 Instead of asserting print informative error message to error log | ||||||||||||||||||||||||||||||
| Comment by Aurélien LEQUOY [ 2015-08-06 ] | ||||||||||||||||||||||||||||||
|
I just tried with lastest 10.1.6 (donwload and compiled 1 hour ago) and i got same problem !
create a table with encrypt remove these options and restart server and i got :
| ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-08-06 ] | ||||||||||||||||||||||||||||||
|
Hi, To me this does not look the same. In original bug report there was a error message and crash. Now server refuses the start and prints error message (if full error log is provided). If requested key_version is not found there is no way to continue. | ||||||||||||||||||||||||||||||
| Comment by Aurélien LEQUOY [ 2015-08-06 ] | ||||||||||||||||||||||||||||||
|
yes, but my point of view it's you miss key, so you lost encripted data => normal. But in this case you lost all data even data not encripted. (i just cripted one table one this table). More how to get back without encryption ? | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-08-06 ] | ||||||||||||||||||||||||||||||
|
Yes, can you explain step by step what you did, but original problem was that you had innodb-encrypt-log=on |