MDEV-12173 "[Warning] Trying to access missing tablespace"
ibuf_merge_or_delete_for_page(): Invoke fil_space_acquire_silent() instead of fil_space_acquire() in order to avoid displaying a useless message. We know perfectly well that a tablespace can be dropped while a change buffer merge is pending, because change buffer merges skip any transactional locks.
This commit is contained in:
parent
89ae5d7f2f
commit
29eeb527fd
@ -1,7 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|
||||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||||
Copyright (c) 2016, 2017, MariaDB Corporation.
|
Copyright (c) 2016, 2018, MariaDB Corporation.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it under
|
This program is free software; you can redistribute it and/or modify it under
|
||||||
the terms of the GNU General Public License as published by the Free Software
|
the terms of the GNU General Public License as published by the Free Software
|
||||||
@ -4492,7 +4492,7 @@ ibuf_merge_or_delete_for_page(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
space = fil_space_acquire(page_id.space());
|
space = fil_space_acquire_silent(page_id.space());
|
||||||
|
|
||||||
if (UNIV_UNLIKELY(!space)) {
|
if (UNIV_UNLIKELY(!space)) {
|
||||||
/* Do not try to read the bitmap page from the
|
/* Do not try to read the bitmap page from the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user