[MDEV-19109] [bugfix] Issue: #64 replication regression with RBR and partition tables Created: 2019-03-31  Updated: 2023-04-12

Status: Open
Project: MariaDB Server
Component/s: Partitioning
Fix Version/s: None

Type: Task Priority: Major
Reporter: Anel Husakovic Assignee: Alexey Botchkov
Resolution: Unresolved Votes: 0
Labels: None

Epic Link: AliSQL patches

 Description   

This patch is ported from MySQL upstream (commit id: 9414c7).
 
Bug#25687813 REPLICATION REGRESSION WITH RBR AND PARTITIONED TABLES
 
PROBLEM
-------
 
While applying update the slave is trying to initialize all partitions
before reading from rnd_pos() call. This is done for each row update
because of which the performance is getting effected.
 
FIX
---
 
Initialize only the partition on which rnd_pos() is called.

https://github.com/alibaba/AliSQL/commit/aa61f5694422461b881998c4270a313e712af5f8


Generated at Thu Feb 08 08:49:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.