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.
parent 85063aeb
...@@ -48,6 +48,12 @@ while ($cnt) ...@@ -48,6 +48,12 @@ while ($cnt)
{ {
real_sleep 1; real_sleep 1;
dec $cnt; dec $cnt;
if ($cnt == 200)
{
--disable_query_log
set global innodb_encrypt_tables = on;
--enable_query_log
}
} }
} }
if (!$success) if (!$success)
...@@ -78,6 +84,12 @@ while ($cnt) ...@@ -78,6 +84,12 @@ while ($cnt)
{ {
real_sleep 1; real_sleep 1;
dec $cnt; dec $cnt;
if ($cnt == 200)
{
--disable_query_log
set global innodb_encrypt_tables = off;
--enable_query_log
}
} }
} }
if (!$success) if (!$success)
...@@ -107,6 +119,12 @@ while ($cnt) ...@@ -107,6 +119,12 @@ while ($cnt)
{ {
real_sleep 1; real_sleep 1;
dec $cnt; dec $cnt;
if ($cnt == 200)
{
--disable_query_log
set global innodb_encrypt_tables=on;
--enable_query_log
}
} }
} }
if (!$success) if (!$success)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment