Bug #96552 | Replication filter iterator needs to be re-assigned after erase() in looping | ||
---|---|---|---|
Submitted: | 15 Aug 2019 12:55 | Modified: | 4 Nov 2019 9:42 |
Reporter: | Xing Ai (OCA) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S5 (Performance) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | multisource replication, SQL |
[15 Aug 2019 12:55]
Xing Ai
[19 Aug 2019 10:49]
MySQL Verification Team
Hi, Seems you are right. Thanks for submitting the report. In order to submit contributions you must first sign the Oracle Contribution Agreement (OCA). For additional information please check http://www.oracle.com/technetwork/community/oca-486395.html. If you have any questions, please contact the MySQL community team.
[21 Aug 2019 13:07]
Xing Ai
Thanks for looking into the bug. I'll sign the OCA.
[25 Oct 2019 1:36]
Pedro Figueiredo
Posted by developer: Hello. Thank you for taking the time to look into this code block. The iterator increment is never executed since the function returns when the element is removed so, no impact on the invalidated iterator. Nonetheless, for the sake of correctness and to avoid future issues, kept the code, with a few changes. Thank you for your time.
[4 Nov 2019 9:42]
Pedro Figueiredo
Posted by developer: Hello. After further analysing the issue, decided to keep the current form since it's the most optimized implementation of the heuristics. Thank you for your time.