Done
Details
Details
Assignee
Varun Arakere Nagaraju
Varun Arakere NagarajuReporter
Matias Rollan
Matias RollanPlanned Version/s
Upstream Bug URL
Needs QA
Yes
In progress time
81.5
Time tracking
No time logged2w remaining
Sprint
None
Affects versions
Priority
Smart Checklist
Smart Checklist
Created September 17, 2024 at 9:48 PM
Updated April 17, 2025 at 1:57 PM
Resolved January 21, 2025 at 12:43 PM
Tested with PS 8.0.37-29-1 and PS 8.4.0-1
Replication breaks with HA_ERR_KEY_NOT_FOUND when using slave_rows_search_algorithms='INDEX_SCAN,HASH_SCAN'
Steps to reproduce (taken from bug report: ) :
We check in the replica using the default
slave_rows_search_algorithms
:With slave_rows_search_algorithms = 'TABLE_SCAN,INDEX_SCAN' on the replica replication doesn’t break. This workaround cannot be done with 8.4
With PS 8.0.37-29-1 there’s another issue: there’s data drift when using
slave_rows_search_algorithms
= ‘INDEX_SCAN,HASH_SCAN
’ vsslave_rows_search_algorithms
= ‘TABLE_SCAN,INDEX_SCAN’. This does not apply to PS 8.4.0-1 since there’s noslave_rows_search_algorithms
variable.We'll provide mysql-bin.064505 to reproduce via private channel
Now we will do it again, and you will see the data drift
We are classifying this ticket as CRITICAL since it creates silent data divergency on 8.4 replicas without a workaround available.