mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
MDEV-18183 Server startup fails while dropping garbage encrypted tablespace
- There is no need to wait for crypt thread to stop accessing space while dropping the garbage encrypted tablespace during recover.
This commit is contained in:
parent
69328c31ed
commit
038785e1f8
2 changed files with 4 additions and 2 deletions
|
@ -2413,7 +2413,8 @@ void
|
|||
fil_space_crypt_close_tablespace(
|
||||
const fil_space_t* space)
|
||||
{
|
||||
if (!srv_encrypt_tables || !space->crypt_data) {
|
||||
if (!srv_encrypt_tables || !space->crypt_data
|
||||
|| srv_n_fil_crypt_threads == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -2413,7 +2413,8 @@ void
|
|||
fil_space_crypt_close_tablespace(
|
||||
const fil_space_t* space)
|
||||
{
|
||||
if (!srv_encrypt_tables || !space->crypt_data) {
|
||||
if (!srv_encrypt_tables || !space->crypt_data
|
||||
|| srv_n_fil_crypt_threads == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue