[MDEV-8588] Assertion failure in file ha_innodb.cc line 21140 if at least one encrypted table exists and encryption service is not available Created: 2015-08-09 Updated: 2019-10-09 Resolved: 2015-09-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
I would expect that the table could not be read, but crashing on startup because there is an unreadable user table (not a system table!) seems to be an overkill.
|
| Comments |
| Comment by Jan Lindström (Inactive) [ 2015-08-14 ] |
|
I find your suggestion problematic, because
Before I close issue by Won't fix, I will do some code reading also. |
| Comment by Elena Stepanova [ 2015-08-14 ] |
From users' point of view, I don't see how any of this is a problem.
I obviously cannot answer that. In fact, I know so little about internals of InnoDB that I can't even tell why such a page (which was encrypted earlier, but cannot be decrypted on server startup) has to be in a buffer pool at the first place. I'd think – it couldn't read the tablespace, complained and forgot about it till the next time. But apparently it is not so; anyway, I surely hope that InnoDB can tell an encrypted page from a corrupted page.
It cannot be "Won't fix". At the very least, it should be not an assertion failure but an error message, followed by "InnoDB init returned error", and shutdown if InnoDB was a default engine or continuing without it if it was not. |
| Comment by Jan Lindström (Inactive) [ 2015-08-16 ] |
|
http://lists.askmonty.org/pipermail/commits/2015-August/008263.html Contains change on handler API. |
| Comment by Jan Lindström (Inactive) [ 2015-09-07 ] |
|
Actual review later in |