Bug #90123 grammer: please confirm the keyfile is match
Submitted: 19 Mar 2018 8:01 Modified: 29 Mar 2018 13:38
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[19 Mar 2018 8:01] Shane Bester
Description:
Seen the error on my server:

2018-03-19T07:54:37.625223Z 0 [ERROR] InnoDB: Encryption information in datafile: ./test/t1.ibd can't be decrypted , please confirm the keyfile is match and keyring plugin is loaded.
2018-03-19T07:54:37.625379Z 0 [Warning] InnoDB: Ignoring tablespace `test/t1` because it could not be opened.

How to repeat:
Check ./storage/innobase/fsp/fsp0file.cc:

		if (!fsp_header_get_encryption_key(m_flags,
						   m_encryption_key,
						   m_encryption_iv,
						   m_first_page)) {
			ib::error()
				<< "Encryption information in"
				<< " datafile: " << m_filepath
				<< " can't be decrypted"
				<< " , please confirm the keyfile"
				<< " is match and keyring plugin"
				<< " is loaded.";

Suggested fix:
fix grammar.. remove extra space after the ,
[19 Mar 2018 12:13] MySQL Verification Team
Can you kindly fix this typo in function fsp_header_decode_encryption_info also:

	if (crc1 != crc2) {
		ib::error() << "Failed to decrpt encryption information,"
			<< " please check key file is not changed!";
[29 Mar 2018 13:38] Daniel Price
Posted by developer:
 
Error message typo. No changelog entry required.