[MDEV-8391] encryption.innodb-page_encryption_compression fails Created: 2015-06-28  Updated: 2015-06-29  Resolved: 2015-06-29

Status: Closed
Project: MariaDB Server
Component/s: Encryption, Tests
Affects Version/s: 10.1.5
Fix Version/s: 10.1.6

Type: Bug Priority: Critical
Reporter: Sergei Golubchik Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 10.1.6-2

 Description   

encryption.innodb-page_encryption_compression test fails in 10.1 when executed after encryption.create_or_replace test with --ps-protocol. This started happening after

commit 8036ad0a08657d074e29035a70e3ab4d4ab5adcf
Author: Sergei Golubchik <serg@mariadb.org>
Date:   Sun Jun 21 06:33:45 2015 +0200
 
    misc encryption tests fixes
    
    * support statically compiled file_key_management when possible
    * rename encryption.encryption_create_or_replace -> encryption.create_or_rep
    * delete unnecessary *.opt file (including
      have_key_management_plugin.inc is enough)
    * remove unnecessary LOWER() for strings that are compared
      case insensitively anyway

but that commit only removed encryption_create_or_replace.opt file and renamed the test. And without the .opt file there is no server restart before and after the test. Apparently, create_or_replace test doesn't completely restores the environment and it causes innodb-page_encryption_compression test to fail.



 Comments   
Comment by Jan Lindström (Inactive) [ 2015-06-29 ]

commit ad9b3263d3c5e4784008cc748ae1af8494da3f05
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Mon Jun 29 08:49:58 2015 +0300

MDEV-8391: encryption.innodb-page_encryption_compression fails

Test create_or_replace should make sure that background decrypt
operation is finished and flush all dirty pages using restart
to clean up the database before ending.

Generated at Thu Feb 08 07:26:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.