Bug #107583 ACK-related methods and fields in Ha_clone_cbk are unused

Submitted: 17 Jun 2022 7:00 Modified: 17 Jun 2022 7:45
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Clone Plugin Severity:S3 (Non-critical)
Version:8.0.29 OS:Any
Assigned to: CPU Architecture:Any

[17 Jun 2022 7:00] Laurynas Biveinis
Description:
One of the clone callback flags is HA_CLONE_ACK. There are some calls to set_ack() which set it, but there are no calls to is_ack_needed() nor direct checks for HA_CLONE_ACK. Thus the flag appears to be completely unused.

How to repeat:
Code reading

Suggested fix:
Remove HA_CLONE_ACK, is_ack_needed, set_ack from Ha_clone_cbk or implement it.
[17 Jun 2022 7:45] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback!

regards,
Umesh

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

Page generated in 0.048 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.