[MDEV-17270] Document how to safely disable innodb_encrypt_log Created: 2018-09-21  Updated: 2018-12-20  Resolved: 2018-12-20

Status: Closed
Project: MariaDB Server
Component/s: Documentation - Support, Encryption, Storage Engine - InnoDB
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Kenneth Dyer (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-17272 Document how to safely disable data-a... Open
blocks MDEV-17273 Document how to safely disable data-a... Open
Relates
relates to MDEV-14157 Improve documentation of data at rest... Closed

 Description   

We should document how to safely disable innodb_encrypt_log. The documentation doesn't currently say:

https://mariadb.com/kb/en/library/encrypting-data-for-innodb-xtradb/

https://mariadb.com/kb/en/library/xtradbinnodb-server-system-variables/#innodb_encrypt_log

I suspect that the process is similar to this one:

https://dev.mysql.com/doc/refman/5.6/en/innodb-data-log-reconfiguration.html

So it would be:

1.) If innodb_fast_shutdown is set to 2, set innodb_fast_shutdown to 1:

SET GLOBAL innodb_fast_shutdown = 1;

https://mariadb.com/kb/en/library/xtradbinnodb-server-system-variables/#innodb_fast_shutdown

2.) Stop the server.

3.) Set innodb_encrypt_log=OFF in the configuration file.

4.) Delete the existing redo logs.

5.) Start the server.



 Comments   
Comment by Geoff Montee (Inactive) [ 2018-12-17 ]

I've added the following section to the documentation:

https://mariadb.com/kb/en/library/encrypting-data-for-innodb-xtradb/#disabling-encryption-for-redo-log

I'm not entirely sure if this is the proper way to disable encryption of the redo log. marko or jplindst might know better.

Generated at Thu Feb 08 08:35:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.