MDEV-4069 thd_wait_end does not called in some cases in buf_page_read_low in XtraDB engine
This commit is contained in:
parent
82e39cb1e1
commit
7925bf6b40
@ -235,6 +235,9 @@ not_to_recover:
|
|||||||
sync, space, 0, offset, 0, UNIV_PAGE_SIZE,
|
sync, space, 0, offset, 0, UNIV_PAGE_SIZE,
|
||||||
((buf_block_t*) bpage)->frame, bpage, trx);
|
((buf_block_t*) bpage)->frame, bpage, trx);
|
||||||
}
|
}
|
||||||
|
if(sync) {
|
||||||
|
thd_wait_end(NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (*err == DB_TABLESPACE_DELETED) {
|
if (*err == DB_TABLESPACE_DELETED) {
|
||||||
buf_read_page_handle_error(bpage);
|
buf_read_page_handle_error(bpage);
|
||||||
@ -250,7 +253,6 @@ not_to_recover:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sync) {
|
if (sync) {
|
||||||
thd_wait_end(NULL);
|
|
||||||
/* The i/o is already completed when we arrive from
|
/* The i/o is already completed when we arrive from
|
||||||
fil_read */
|
fil_read */
|
||||||
if (!buf_page_io_complete(bpage)) {
|
if (!buf_page_io_complete(bpage)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user