Skip to content
Permalink
Browse files
MDEV-25998 encryption.innodb_encryption_filekeys failure in buildbot
  - Set the innodb_encrypt_tables variable before
timeout happens. It will add the pending tablespace
to default encrypt list and does the encryption/decryption
based on innodb_encrypt_tables.
  • Loading branch information
Thirunarayanan committed Jul 9, 2021
1 parent 85063ae commit fb0b289
Showing 1 changed file with 18 additions and 0 deletions.
@@ -48,6 +48,12 @@ while ($cnt)
{
real_sleep 1;
dec $cnt;
if ($cnt == 200)
{
--disable_query_log
set global innodb_encrypt_tables = on;
--enable_query_log
}
}
}
if (!$success)
@@ -78,6 +84,12 @@ while ($cnt)
{
real_sleep 1;
dec $cnt;
if ($cnt == 200)
{
--disable_query_log
set global innodb_encrypt_tables = off;
--enable_query_log
}
}
}
if (!$success)
@@ -107,6 +119,12 @@ while ($cnt)
{
real_sleep 1;
dec $cnt;
if ($cnt == 200)
{
--disable_query_log
set global innodb_encrypt_tables=on;
--enable_query_log
}
}
}
if (!$success)

0 comments on commit fb0b289

Please sign in to comment.