Bug #97136 | racing condition over buf_chunk_map_reg during buffer pool resizing | ||
---|---|---|---|
Submitted: | 8 Oct 2019 4:56 | Modified: | 8 Oct 2019 22:40 |
Reporter: | Chen Fu | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | buffer pool |
[8 Oct 2019 4:56]
Chen Fu
[8 Oct 2019 13:54]
MySQL Verification Team
Hi Mr. Fu, Thank you for your bug report. However, your report is quite unclear. First of all, we do not see which 8.0 release are you using. If you are not using the latest, take a look at the code of 8.0.18, which should be out relatively soon. Second, page latch does not need to be taken, since the entire buffer pool is locked. Third, thread that scans the REDO log takes a lock, on which buffer pool locking has to wait. Fourth, you claim that you experienced a crash during such operations , but we do not see any evidence of it, nor do we see a printout from any assert. Please, provide us with all required feedback.
[8 Oct 2019 22:40]
Chen Fu
made a mistake, when disabling the AHI, btr_search_x_lock_all will wait for all AHI search thread to finish. Since buf_chunk_map_reg is only used by the AHI search thread, there will not be any overlapping.
[9 Oct 2019 11:55]
MySQL Verification Team
Thank you for your feedback.