Bug #106941 apply_batch_on looks like redundant variables

Submitted: 7 Apr 2022 9:21 Modified: 7 Apr 2022 10:10
Reporter: alex xing (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S5 (Performance)
Version:8.0.28 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[7 Apr 2022 9:21] alex xing
Description:
1. the value of apply_batch_on seems the sames to apply_log_recs
2. no need to wait apply_batch_on  in recv_apply_hashed_log_recs
it is better to remove the redundant code

How to repeat:
just read the code

Suggested fix:
it is better to remove the redundant code just like the below patch
[7 Apr 2022 9:22] alex xing
a simple patch to describe the optimization

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: optimize.patch (text/plain), 2.21 KiB.

[7 Apr 2022 10:10] MySQL Verification Team
Hello Alex Xing,

Thank you for the report and contribution.

regards,
umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.