Bug #105028 | memory leak caused by recv_sys->saved_recs during recovery | ||
---|---|---|---|
Submitted: | 24 Sep 2021 4:45 | Modified: | 24 Sep 2021 5:23 |
Reporter: | alex xing (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.26 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution |
[24 Sep 2021 4:45]
alex xing
[24 Sep 2021 4:46]
alex xing
a simple patch to describe the fix (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: commit.patch (text/plain), 475 bytes.
[24 Sep 2021 4:59]
alex xing
Although this memory will be freed when mysqld is shutdown in srv_shutdown-->recv_sys_close, But this structure is not needed during normal running mode, and this chunk of memory can be large( MAX_SAVED_MLOG_RECS = 8 * 1024), so early release is a good option
[24 Sep 2021 5:23]
MySQL Verification Team
Hello Alex Xing, Thank you for the report and contribution. regards, Umesh