Bug #93442 | log.write_ahead_end_offset inits to error value | ||
---|---|---|---|
Submitted: | 2 Dec 2018 2:45 | Modified: | 13 Dec 2018 0:17 |
Reporter: | yuhui wang | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.13 | OS: | CentOS (Linux r10k04625.sqa.zmf 2.6.32) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | innodb redolog; WAL; write_ahead_end_offset; write_ahead; |
[2 Dec 2018 2:45]
yuhui wang
[6 Dec 2018 21:07]
Pawel Olchawa
I confirm - such performance bug exists. As you pointed, the write-ahead optimization is disabled since MySQL is started until we switched to a next log file. Since then it's enabled. Also, the fix you suggested seems proper. Thank you for your contribution.
[13 Dec 2018 0:17]
Daniel Price
Posted by developer: Fixed as of the upcoming 8.0.15 release, and here's the changelog entry: Write-ahead did not work as expected due to an incorrectly initialized variable. Thanks to Yuhui Wang for the contribution.